pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Antonini Roberto <Roberto.Antonini@TILAB.COM>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: I/O error
Date: Fri, 13 Aug 2004 23:37:57 +1200
Message-ID: <411CA815.3030300@opencloud.com> (raw)
In-Reply-To: <95F2F6B57A08F94FBAEE314B62B4CB1A05770D@EXC01B.cselt.it>
References: <95F2F6B57A08F94FBAEE314B62B4CB1A05770D@EXC01B.cselt.it>

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



view thread (2+ messages)

Message-ID: <411CA815.3030300@opencloud.com>
Permalink:  ../411CA815.3030300@opencloud.com/
Also on:    postgresql.org/message-id/411CA815.3030300@opencloud.com

 · 

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: oliver@opencloud.com, Roberto.Antonini@TILAB.COM
  Subject: Re: I/O error
  In-Reply-To: <411CA815.3030300@opencloud.com>
  References: <95F2F6B57A08F94FBAEE314B62B4CB1A05770D@EXC01B.cselt.it> <411CA815.3030300@opencloud.com>

* 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