This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 15962
    
  19

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.
 
 
subject: Number of DB connection objects in Tomcat 7.0.26
 
Similar Threads
Error on using Tomcat
Tomcat 7.0.26 installation
? extends Number
JDK 1.7 is not compiling jws file into class file
compile servlet