Обсуждение: Postgresql Help: Connection attempt failed after repeated successful connections /disconnections

Поиск
Список
Период
Сортировка

Postgresql Help: Connection attempt failed after repeated successful connections /disconnections

От
"Hu, Victoria"
Дата:
Hi,
 
After around 4000 times of connection and disconnection, I received following error. I have all required close() statements. Where else shall I look into?
SEVERE: SQLException - getConnection(...)
CONNECTION STATUS: false
org.postgresql.util.PSQLException: The connection attempt failed.
        at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:150)
        at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
        at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:125)
        at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
        at org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:22)
        at org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:30)
        at org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)
        at org.postgresql.Driver.makeConnection(Driver.java:393)
        at org.postgresql.Driver.connect(Driver.java:267)
 
Thanks
Vicky