Connection Pool Timeout

From: "Neil Murray" <nhm(at)mimecast(dot)net>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Connection Pool Timeout
Date: 2003-12-23 14:01:53
Message-ID: 01c601c3c95d$58fe05d0$020ba8c0@NOTEBOOK2
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi,

I connect to the DB with pg73jdbc3.jar - and I make use of
Jdbc3PoolingDataSource().

Using the connection pool is no problem, but there seems to be a black hole
of access at the point where the getConnection() method is called. If
getConnection is called, and no DB connections are available, then
getConnection() waits forever without throwing an exception. The API seems
to indicate that there is a timeout that can be set, but setting it has made
no difference. getConnection() still waits forever.

Any ideas?

Neil

Neil Murray
nhm(at)mimecast(dot)net

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message PostgreSQL Bugs List 2003-12-23 19:51:37 BUG #1026: org.apache.commons.dbcp.DbcpException: The connection attempt failed because failed getting backend
Previous Message Nick Fankhauser 2003-12-23 11:52:34 Re: jdbc connection - UnknownHostException