pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
I/O error
2+ messages / 2 participants
[nested] [flat]

* I/O error
@ 2004-08-13 09:57  Antonini Roberto <Roberto.Antonini@TILAB.COM>
  0 siblings, 1 reply; 2+ messages in thread

From: Antonini Roberto @ 2004-08-13 09:57 UTC (permalink / raw)
  To: pgsql-jdbc

Hi all,

Someone could explain to me the meaning of this exception:

 

An I/O error occured while reading from backend - Exception:
java.net.SocketException: Connection reset

 

java.net.SocketException: Connection reset

        at java.net.SocketInputStream.read(SocketInputStream.java:168)

        at
java.io.BufferedInputStream.fill(BufferedInputStream.java:183)

        at
java.io.BufferedInputStream.read(BufferedInputStream.java:201)

        at org.postgresql.PG_Stream.ReceiveChar(Unknown Source)

        at org.postgresql.core.QueryExecutor.execute(Unknown Source)

        at org.postgresql.Connection.ExecSQL(Unknown Source)

        at org.postgresql.jdbc2.Statement.execute(Unknown Source)

        at org.postgresql.jdbc2.Statement.executeQuery(Unknown Source)

 

when I try to invoke DB function to remote DB.

could it be a driver trouble?

 

Thanks,

Roberto.

 



Gruppo Telecom Italia - Direzione e coordinamento di Telecom Italia S.p.A.

====================================================================
CONFIDENTIALITY NOTICE
This message and its attachments are addressed solely to the persons
above and may contain confidential information. If you have received
the message in error, be informed that any use of the content hereof
is prohibited. Please return it immediately to the sender and delete
the message. Should you have any questions, please send an e_mail to
MailAdmin@tilab.com. Thank you
====================================================================

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: I/O error
@ 2004-08-13 11:37  Oliver Jowett <oliver@opencloud.com>
  parent: Antonini Roberto <Roberto.Antonini@TILAB.COM>
  0 siblings, 0 replies; 2+ messages in thread

From: Oliver Jowett @ 2004-08-13 11:37 UTC (permalink / raw)
  To: Antonini Roberto <Roberto.Antonini@TILAB.COM>; +Cc: pgsql-jdbc

Antonini Roberto wrote:
> Hi all,
> 
> Someone could explain to me the meaning of this exception:
> 
>  
> 
> *An I/O error occured while reading from backend - Exception: 
> java.net.SocketException: Connection reset*
> 
> when I try to invoke DB function to remote DB.
> 
> could it be a driver trouble?

The driver is reporting a TCP/IP-level communication error.

The usual cause is a stateful firewall betweeen the JDBC client and the 
server. A connection that stays idle for a long time may be considered 
dead and dropped by the firewall, and you will see a "connection reset" 
error when it is eventually reused.

-O



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-08-13 11:37 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-08-13 09:57 I/O error Antonini Roberto <Roberto.Antonini@TILAB.COM>
2004-08-13 11:37 ` Oliver Jowett <oliver@opencloud.com>

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