File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Murach's Java Servlets and JSP this week in the Servlets 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Monitor DataSource connection pool via JMX
 
Similar Threads
JBOSS 4.3.0 EAP Clustering with Apache HTTP Server 2.2.11
tomcat 4 jdbc-jndi questions: restart database
Tomcat JNDI datasource ,where is the managed datasource object?
getting my data in server.xml to pojo file..?
JMX and Tomcat