Re: jdbc connection - UnknownHostException

From: "Nick Fankhauser" <nickf(at)ontko(dot)com>
To: "Yann Calderara" <cy(at)netlabs(dot)org>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: jdbc connection - UnknownHostException
Date: 2003-12-23 11:52:34
Message-ID: NEBBLAAHGLEEPCGOBHDGAEOBKDAA.nickf@ontko.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

> should I not receive another exception than this
> UnknownHostException?

Good point. I'd expect a different error message, but thought it was
possible that unresponsiveness might result in this one. I was keying in
more on the inconsistent behavior.

Now that I think about it, a more likely possibility is that the DNS server
responsible for resolving myhost1.org is not responding quickly, so the
lookup times out in some cases. what happens if you try to replace
"myhost1.org" with the actual IP address?

-Nick

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Neil Murray 2003-12-23 14:01:53 Connection Pool Timeout
Previous Message Yann Calderara 2003-12-23 09:51:29 Re: jdbc connection - UnknownHostException