Re: jdbc connection - UnknownHostException - Mailing list pgsql-jdbc

From Nick Fankhauser
Subject Re: jdbc connection - UnknownHostException
Date
Msg-id NEBBLAAHGLEEPCGOBHDGAEOBKDAA.nickf@ontko.com
Whole thread Raw
In response to Re: jdbc connection - UnknownHostException  (Yann Calderara <cy@netlabs.org>)
Responses Re: jdbc connection - UnknownHostException
List 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



pgsql-jdbc by date:

Previous
From: Yann Calderara
Date:
Subject: Re: jdbc connection - UnknownHostException
Next
From: "Neil Murray"
Date:
Subject: Connection Pool Timeout