Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Number of DB connection objects in Tomcat 7.0.26

 
Ramu Valivarthi
Ranch Hand
Posts: 37
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18156
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ramu Valivarthi
Ranch Hand
Posts: 37
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Tim,This information is really helpful for me.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic