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

Re: DiverManager.getConnection hangs

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Massimo Ferrari <massimo(dot)ferrari(at)rcfmedia(dot)net>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: DiverManager.getConnection hangs
Date: 2007-03-15 23:03:27
Message-ID: 45F9D0BF.5000802@opencloud.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
Massimo Ferrari wrote:
> Mhhh it was a firewall issue!
> 
> Just a pity that even if I turned the driver's loggin on, there was no 
> message.

If the firewall was completely dropping connections then it'll sit there 
trying to connect and eventually timeout, but it may take some time.

You could set a connect timeout (there's a jdbc URL parameter for it) if 
you want a faster failure.

-O

In response to

pgsql-jdbc by date

Next:From: Randall SmithDate: 2007-03-19 20:19:51
Subject: query manipulation
Previous:From: Massimo FerrariDate: 2007-03-15 22:04:20
Subject: Re: DiverManager.getConnection hangs

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