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 A391A53500 for ; Wed, 6 Apr 2005 17:25:11 +0100 (BST) 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 12081-07 for ; Wed, 6 Apr 2005 16:24:54 +0000 (GMT) Received: from hogranch.com (hogranch.com [66.117.128.240]) by svr1.postgresql.org (Postfix) with ESMTP id 2E39E5350A for ; Wed, 6 Apr 2005 17:24:53 +0100 (BST) Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id j36GOjE12791; Wed, 6 Apr 2005 09:24:46 -0700 Message-ID: <42540D4D.2000504@hogranch.com> Date: Wed, 06 Apr 2005 09:24:45 -0700 From: John R Pierce User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: anthony@webmediaworks.co.uk Cc: pgsql-jdbc@postgresql.org Subject: Re: An I/O error occured while sending to the backend References: <001701c53a90$cf879cc0$6600a8c0@kermit> In-Reply-To: <001701c53a90$cf879cc0$6600a8c0@kermit> Content-Type: text/plain; charset=windows-1250; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200504/38 X-Sequence-Number: 12645 Anthony Chaffey wrote: > Hi, > > > I have developed an application using the postgresql-8.0-310.jdbc3 > driver and connecting to a postgresql 8.0.1 database running on fedora > core 3. Everything was working fine until i started running the > application on the clients pc's. Randomly they receive an error, the > stack trace of which is below. > > The only difference between my testing pc and the client's pc's is that > they use a wireless network card. Both my machine and the client's pc's > are running Windows XP with SP2. Similar problems have been posted on > this mailing list and people have suggested a firewall is clearing the > connection which makes sense as the client claims this problem only > occurs if the application is left idle for a short time but does anyone > have any more information that may help? its probaly exactly what you say, most firewalls, NAT routers, etc will time out idle sockets after a certain number of minutes... They have to do this, otherwise the firewall's connection tracking tables will fill up with old flug. only good solution is to catch the exception, and attempt to reopen the database connection, and retry the operation....