Re: DiverManager.getConnection hangs

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: DiverManager.getConnection hangs
Дата
Msg-id 45F9D0BF.5000802@opencloud.com
обсуждение исходный текст
Ответ на Re: DiverManager.getConnection hangs  (Massimo Ferrari <massimo.ferrari@rcfmedia.net>)
Список 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

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Massimo Ferrari
Дата:
Сообщение: Re: DiverManager.getConnection hangs
Следующее
От: Randall Smith
Дата:
Сообщение: query manipulation