Hi Bob,

currently there are no methods to access the used commons-pool instances in ConnectionFactoryPooledImpl. I recommend to extend ConnectionFactoryPooledImpl and override method #createConnectionPool.

public ObjectPool createConnectionPool(JdbcConnectionDescriptor jcd)
{
  ObjectPool pool = super.createConnectionPool...
  // add 'pool' instance to list or map, ObjectPool has methods to
  // lookup active connections, idle connections ...
  return pool;
}

regards,
Armin

Bob Damato wrote:
I'm using ConnectionFactoryPooledImpl and I'm trying to find run time information about 
the pool such as the current number of connections "checked out", and the 
number of connections that were timed out etc. Is there any way to get this data?




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to