This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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 ?
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.
An IDE is no substitute for an Intelligent Developer.