users@glassfish.java.net

Re: Command to Find the details of JDBC Connection Pool in glassfish cluster

From: <glassfish_at_javadesktop.org>
Date: Tue, 26 May 2009 22:53:13 PDT

You could make use of the dotted names get (asadmin get command) to get values of steady pool size and max pool size.
ex:
asadmin get domain.resources.jdbc-connection-pool.DerbyPool.steady-pool-size and so on..

Also, for finding current number of connections used, the asadmin monitor commands could be used. Please refer http://blogs.sun.com/JagadishPrasath/entry/monitoring_jdbc_connection_pool_glassfish for more details on the same.
[Message sent by forum member 'sm157516' (sm157516)]

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