Skip site navigation (1) Skip section navigation (2)

Re: application handing on send

From: Warren Little <wlittle(at)securitylending(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: application handing on send
Date: 2004-05-28 17:16:40
Message-ID: 1085764600.5841.35.camel@localhost.localdomain (view raw or flat)
Thread:
Lists: pgsql-jdbc
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

In response to

Responses

pgsql-jdbc by date

Next:From: Atul AroraDate: 2004-05-29 03:28:10
Subject: UNSUBSCRIBE
Previous:From: Warren LittleDate: 2004-05-28 15:30:07
Subject: application handing on send

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group