X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 87FAE5E46C4 for ; Fri, 13 Aug 2004 08:38:26 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 30021-06 for ; Fri, 13 Aug 2004 11:38:20 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 3959B5E3E30 for ; Fri, 13 Aug 2004 08:38:17 -0300 (ADT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=opencloud.com) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1BvaNk-0005rj-00; Fri, 13 Aug 2004 23:38:00 +1200 Message-ID: <411CA815.3030300@opencloud.com> Date: Fri, 13 Aug 2004 23:37:57 +1200 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Antonini Roberto Cc: pgsql-jdbc@postgresql.org Subject: Re: I/O error References: <95F2F6B57A08F94FBAEE314B62B4CB1A05770D@EXC01B.cselt.it> In-Reply-To: <95F2F6B57A08F94FBAEE314B62B4CB1A05770D@EXC01B.cselt.it> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/91 X-Sequence-Number: 10813 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