This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection pooling statistics

 
Joseph Magerramov
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way to get connection pooling statistics from a datasource, like number of connection currently checked out, total number of connections in the pool, etc...
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use the ResourceAnalyzer to get this for you and display it -- unfortunately there's not programmatic way to do this in WAS 4.0 -- that is coming in WAS 5.0 with the Performance Management Infrastructure API with JMX.
Kyle
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic