From: Oliver Jowett <oliver@opencloud.com>
To: Massimo Ferrari <massimo.ferrari@rcfmedia.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: DiverManager.getConnection hangs
Date: Fri, 16 Mar 2007 12:03:27 +1300
Message-ID: <45F9D0BF.5000802@opencloud.com> (raw)
In-Reply-To: <45F9C2E4.7040800@rcfmedia.net>
References: <45F9B53A.3010200@rcfmedia.net>
<45F9C2E4.7040800@rcfmedia.net>
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
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: oliver@opencloud.com, massimo.ferrari@rcfmedia.net
Subject: Re: DiverManager.getConnection hangs
In-Reply-To: <45F9D0BF.5000802@opencloud.com>
References: <45F9B53A.3010200@rcfmedia.net> <45F9C2E4.7040800@rcfmedia.net> <45F9D0BF.5000802@opencloud.com>
* 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