Re: jdbc connection - UnknownHostException

From: Yann Calderara <cy(at)netlabs(dot)org>
To: <nickf(at)ontko(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: jdbc connection - UnknownHostException
Date: 2003-12-24 14:13:51
Message-ID: 20031224151351.43e58571.cy@netlabs.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

> 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?

You are right: it works with the ip address. I'm still not sure it was a problem with the dns resolution, but the fact is, I didn't have any new UnknownHostException since 1-2 days...
Thanks Nick for your help, and if you have another idea, let me know :)

yann

--
Yann Calderara <cy(at)netlabs(dot)org>
OpenPGP: 8E31751C / 26EA EDA3 1671 CCCF 815D 89A4 307D 4B8E 8E31 751C

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tammy Jones 2003-12-24 14:32:10 Re: [JDBC] BUG #1026: org.apache.commons.dbcp.DbcpException:
Previous Message Ezotyrik 2003-12-24 03:52:59 Re: Backend Protocol Examples?