users@glassfish.java.net

number of active connections

From: <glassfish_at_javadesktop.org>
Date: Tue, 01 Jan 2008 03:27:49 PST

Hi,

How can I get number of active connections in GlassFish?
For example object org.apache.commons.dbcp.BasicDataSource has method
getNumActive and getNumIdle.
But GlassFish DataSource object com.sun.gjc.spi.jdbc30.DataSource30 doesn't
have such methods.
I tried to use Jakarta Commons DBCP for Connection Pool but I get an error.

Thank you
Irena
[Message sent by forum member 'irenag' (irenag)]

http://forums.java.net/jive/thread.jspa?messageID=251820