pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Radek Jíra <jira@iiprg.cz>
To: pgsql-jdbc@postgresql.org
Subject: An I/O error occured while sending to the backend
Date: Tue, 14 Feb 2006 15:26:23 +0100
Message-ID: <43F1E88F.9000908@iiprg.cz> (raw)

Hello,

I have a problem that I am not able to solve. I have this exception:

org.postgresql.util.PSQLException: An I/O error occured while sending to 
the backend.
    at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:216)
    at 
org.postgresql.jdbc2.AbstractJdbc2Connection.executeTransactionCommand(AbstractJdbc2Connection.java:649)
    at 
org.postgresql.jdbc2.AbstractJdbc2Connection.rollback(AbstractJdbc2Connection.java:686)
    at com.evermind._id.rollback(.:196)
    at com.evermind._ja.rollback(.:104)
    at com.evermind._bs._gbc(.:118)
    at com.evermind.server.ApplicationServerTransaction._gcc(.:334)
    at com.evermind.server.ApplicationServerTransaction._gbc(.:296)
    at com.evermind.server.ApplicationServerTransaction.rollback(.:279)
    at 
com.evermind.server.ApplicationServerTransactionManager.rollback(.:285)
    at 
cz.iiprg.util.importer.ejb.ImporterEJB.rollbackTransaction(ImporterEJB.java:173)
    at 
Importer_StatefulSessionBeanWrapper34.rollbackTransaction(Importer_StatefulSessionBeanWrapper34.java:416)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.evermind._bt._uab(.:79)
    at com.evermind._bf.run(.:62)
Caused by: java.io.IOException: Stream closed
    at sun.nio.cs.StreamEncoder.ensureOpen(StreamEncoder.java:38)
    at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:151)
    at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213)
    at org.postgresql.core.PGStream.flush(PGStream.java:501)
    at 
org.postgresql.core.v3.QueryExecutorImpl.sendSync(QueryExecutorImpl.java:674)
    at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:189)
    ... 17 more

It is strange that it occurs randomly and only when the server is loaded.

Radek



view thread (27+ messages)  latest in thread

Message-ID: <43F1E88F.9000908@iiprg.cz>
Permalink:  ../43F1E88F.9000908@iiprg.cz/
Also on:    postgresql.org/message-id/43F1E88F.9000908@iiprg.cz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: jira@iiprg.cz
  Subject: Re: An I/O error occured while sending to the backend
  In-Reply-To: <43F1E88F.9000908@iiprg.cz>
  References: <43F1E88F.9000908@iiprg.cz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox