Re: I/O error - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: I/O error
Date
Msg-id 411CA815.3030300@opencloud.com
Whole thread Raw
In response to I/O error  (Antonini Roberto <Roberto.Antonini@TILAB.COM>)
List 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

pgsql-jdbc by date:

Previous
From: Antonini Roberto
Date:
Subject: I/O error
Next
From: "Luke (Terry) Vanderfluit"
Date:
Subject: compiling postgres from source --with-java