aspose file tools*
The moose likes Tomcat and the fly likes Monitor DataSource connection pool via JMX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Monitor DataSource connection pool via JMX" Watch "Monitor DataSource connection pool via JMX" New topic
Author

Monitor DataSource connection pool via JMX

Shay Katz
Greenhorn

Joined: Apr 29, 2008
Posts: 3
Hi,

I configured my server to run with tomcat connection pool (org.apache.tomcat.jdbc.pool.DataSource).
Now, i would like to monitor this connection pool via jmx and according to the site(http://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html) jmxEnable is true by default (i tried to configure it manually as well).
The problem is that i can't see any information in the Jmx that related to the DataSource (via jconsole), i can see another beans but there is no information which regards to the datasource.
Does anyone has any idea what should i do in order to expose details which regard to the tomcat connection pool?

Thanks,
Shay
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Monitor DataSource connection pool via JMX