This content has been marked as final.
Show 1 reply
-
1. Re: How to montir Database connections thru JBoss
weston.price Feb 23, 2007 5:41 AM (in response to vikas_mavoori)Easiest thing to do is check out the JMX console
By default, this runs at:
http://host:8080/jmx-console
The console provides an HTML view of all the MBeans running in JBoss. All ConnectionPools are MBeans and as a result, you can view the particular statistics for the pool. For example, JBoss ships with a default datasource configuration with a JNDI name of DefautDS to view the stats for this datasource navigate to the console and find the entry
jboss.jca:service=ManagedConnectionPool,name=DefaultDS
selecting this will give you a set of statistics about the pool (min/max/inuse).
You can accomplish the same thing using the twiddle.sh application in your
<jboss-root>/bin directory but for now the JMX console should give you a start.