pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Warren Little <wlittle@securitylending.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: application handing on send
Date: Fri, 28 May 2004 11:16:40 -0600
Message-ID: <1085764600.5841.35.camel@localhost.localdomain> (raw)
In-Reply-To: <1085758206.5841.21.camel@localhost.localdomain>
References: <1085758206.5841.21.camel@localhost.localdomain>

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



view thread (3+ messages)  latest in thread

Message-ID: <1085764600.5841.35.camel@localhost.localdomain>
Permalink:  ../1085764600.5841.35.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1085764600.5841.35.camel@localhost.localdomain

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: wlittle@securitylending.com
  Subject: Re: application handing on send
  In-Reply-To: <1085764600.5841.35.camel@localhost.localdomain>
  References: <1085758206.5841.21.camel@localhost.localdomain> <1085764600.5841.35.camel@localhost.localdomain>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox