aspose file tools*
The moose likes Tomcat and the fly likes Number of DB connection objects in Tomcat 7.0.26 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Number of DB connection objects in Tomcat 7.0.26 " Watch "Number of DB connection objects in Tomcat 7.0.26 " New topic
Author

Number of DB connection objects in Tomcat 7.0.26

Ramu Valivarthi
Ranch Hand

Joined: Apr 24, 2007
Posts: 37

We have recently migrated to Tomcat 7.0.26,I would like to see number of database connection objects created by WebApplication which is running in Tomcat 7.0.26.
can we monitor those on Tomcat app-manager or server-status screens? or do we have any other tools or plugins to do the same ?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16065
    
  21

Ideally, a web application is not creating connections, but instead obtaining them from a database connection pool that was constructed and managed by the application server. Since this pooling manager is a plug-in resource, the exact characteristics and enumerable characteristics of that pool will vary depending on which pooler is being used. For the default, the Apache DBCP pooler is used. You should be able to use JMX to monitor it.


Customer surveys are for companies who didn't pay proper attention to begin with.
Ramu Valivarthi
Ranch Hand

Joined: Apr 24, 2007
Posts: 37

Thanks Tim,This information is really helpful for me.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Number of DB connection objects in Tomcat 7.0.26