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 8D2145295E for ; Thu, 7 Apr 2005 12:34:51 +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 34837-06 for ; Thu, 7 Apr 2005 11:34:43 +0000 (GMT) Received: from p15158730.pureserver.info (p15158730.pureserver.info [82.165.40.122]) by svr1.postgresql.org (Postfix) with ESMTP id 8454A53820 for ; Thu, 7 Apr 2005 12:34:41 +0100 (BST) Received: (qmail 30119 invoked from network); 7 Apr 2005 11:34:43 -0000 Received: from host81-137-85-41.in-addr.btopenworld.com (HELO kermit) (81.137.85.41) by p15158730.pureserver.info with SMTP; 7 Apr 2005 11:34:43 -0000 Reply-To: From: "Anthony Chaffey" To: Subject: Re: An I/O error occured while sending to the backend Date: Thu, 7 Apr 2005 12:34:44 +0100 Organization: Web Media Works Message-ID: <001701c53b65$cc5008a0$6600a8c0@kermit> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0018_01C53B6E.2E1470A0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <001701c53a90$cf879cc0$6600a8c0@kermit> Importance: Normal X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.398 tagged_above=0 required=5 tests=AWL, HTML_60_70, HTML_MESSAGE, HTML_TEXT_AFTER_BODY, HTML_TEXT_AFTER_HTML X-Spam-Level: X-Archive-Number: 200504/46 X-Sequence-Number: 12653 This is a multi-part message in MIME format. ------=_NextPart_000_0018_01C53B6E.2E1470A0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 7bit Thanks to everyone for their responses. I have now coded the application to catch the exception an determine whether it is an i/o problem and attempts to re-connect to the database. I will look into the socket time-out settings but I have realised that my solution also holds up well when a network/internet connection is lost entirely. Thanks again. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.4 - Release Date: 06/04/2005 ------=_NextPart_000_0018_01C53B6E.2E1470A0 Content-Type: text/html; charset="windows-1250" Content-Transfer-Encoding: quoted-printable Message
Thanks=20 to everyone for their responses.
 
I have=20 now coded the application to catch the exception an determine whether it = is an=20 i/o problem and attempts to re-connect to the database. I will look into = the=20 socket time-out settings but I have realised that my solution also holds = up well=20 when a network/internet connection is lost entirely.
 
Thanks=20 again.

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.4 - Release Date: = 06/04/2005

------=_NextPart_000_0018_01C53B6E.2E1470A0--