Intermittent I/O error?

From: "Vsevolod (Simon) Ilyushchenko" <simonf(at)cshl(dot)edu>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Intermittent I/O error?
Date: 2005-09-29 20:03:16
Message-ID: 433C4884.4060506@cshl.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi,

I'm getting intermittent infamous errors:

Class: com.romeblack.release.core.EntityHomeException: An I/O error
occured while sending to the backend.
Exception: java.net.SocketException: Socket closed
Stack Trace:
java.net.SocketException: Socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
at org.postgresql.core.PGStream.ReceiveChar(PGStream.java:241)
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1122)
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:175)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:389)

These errors don't always occur - sometimes I'm able to run and test the
entire application without ever running into them.

I'm using Tomcat 5.5.9 and JDBC 2 driver 8.0-312 connecting to an 8.0.3
database on Fedora 4.

What can I do to fix this problem?

Thanks,
Simon
--

Simon (Vsevolod ILyushchenko) simonf(at)cshl(dot)edu
http://www.simonf.com

Terrorism is a tactic and so to declare war on terrorism
is equivalent to Roosevelt's declaring war on blitzkrieg.

Zbigniew Brzezinski, U.S. national security advisor, 1977-81

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jean-Pierre Pelletier 2005-09-29 20:45:17 "Conversion of interval failed" on PGInterval with 8.1dev-401.jdbc3.jar
Previous Message Alfredo Rico 2005-09-29 18:37:40 Re: How to retieve binary data (bytea) without problem ?