Hi all,
I would like to know if someone has already encouter the following bug :

After opening a pool of JDBC connections on solaris 5.8 (nearly than
250) on a database server (postgresql), I've got the following exception

after trying to establish an HTTP connection from the same JVM :

java.net.UnknownHostException: www.w3c.org
        at java.net.InetAddress.getAllByName0(InetAddress.java:571)
        at java.net.InetAddress.getAllByName0(InetAddress.java:540)
        at java.net.InetAddress.getAllByName(InetAddress.java:533)
        at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java:3104)

        at
HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:2879)
        at
HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:2715)
        at
HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java:2507)
        at HTTPClient.HTTPConnection.Get(HTTPConnection.java:905)
        at HTTPClient.HTTPConnection.Get(HTTPConnection.java:824)

It seems that this is a socket problem, when a single thread try to open

a pool of sockets ...
I've seen that this bug has already been evocated and fixed in JDK 1.4
(Non blocking I/O) but don't seem to work on solaris.

Moreover,
- if the database is not located on the same machine, it works well ...
- if the IP address of www.w3c.org is put instead of its dns , it works
also as if there is a reverse dns problem.


Thanks

Alain


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to