commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Verbeeck <dirk.verbe...@pandora.be>
Subject Re: [DBCP] BindException
Date Wed, 02 Mar 2005 18:48:08 GMT
This is clearly a postgresql (driver) problem.
I don't use postgresql myself ant the best thing I could find is:
http://archives.postgresql.org/pgsql-jdbc/2003-07/msg00058.php

-- Dirk

> getConnection failed: org.postgresql.util.PSQLException: The connection 
> attempt failed because Exception: java.net.BindException: Address 
> already in use: connect
> Stack Trace:
> 
> java.net.BindException: Address already in use: connect
>       at java.net.PlainSocketImpl.socketConnect(Native Method)
>       at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
>       at 
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
>       at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
>       at java.net.Socket.connect(Socket.java:452)
>       at java.net.Socket.connect(Socket.java:402)
>       at java.net.Socket.<init>(Socket.java:309)
>       at java.net.Socket.<init>(Socket.java:124)
>       at org.postgresql.core.PGStream.<init>(PGStream.java:47)
>       at 
> org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection(AbstractJdbc1Connection.java:197)

> 
>       at org.postgresql.Driver.connect(Driver.java:139)
>       at java.sql.DriverManager.getConnection(DriverManager.java:512)
>       at java.sql.DriverManager.getConnection(DriverManager.java:171)
>       at 
> org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:48)

> 
>       at 
> org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message