X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 8E738D1CF7C for ; Fri, 28 May 2004 17:41:57 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 16511-08 for ; Fri, 28 May 2004 17:41:53 -0300 (ADT) Received: from mail.securitylending.com (mail.securitylending.com [65.90.55.69]) by svr1.postgresql.org (Postfix) with ESMTP id 80BF5D1E123 for ; Fri, 28 May 2004 14:16:40 -0300 (ADT) Received: from sharp by mail.securitylending.com; 28 May 2004 11:16:40 -0600 Subject: Re: application handing on send From: Warren Little To: pgsql-jdbc@postgresql.org In-Reply-To: <1085758206.5841.21.camel@localhost.localdomain> References: <1085758206.5841.21.camel@localhost.localdomain> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1085764600.5841.35.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 28 May 2004 11:16:40 -0600 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200405/182 X-Sequence-Number: 10192 Question to my own question: Is there even such a mechanism in the Socket class to do a timeout on a write? On Fri, 2004-05-28 at 09:30, Warren Little wrote: > My tomcat application occasionally hangs trying push data to the > postgres backend. When I view the connection to postgres with netstat I > see data sitting in the sendQ on the socket. > There is a firewall (cisco pix) between the tomcat server and the > database server. > I was wondering if there is some way to set the timeout on the driver as > to force a IO exception and terminate the jdbc request. > -- Warren Little Senior Vice President Secondary Marketing Security Lending Wholesale, LC www.securitylending.com Tel: 866-369-7763 Fax: 866-849-8079