Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

DBCP Pool settings

 
mohammad shadab
Ranch Hand
Posts: 52
Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am using tomcat's DBCP pool setting , My resource tag in context file is as below



When i get the new connection i receive the object of javax.sql.DataSource , I want to see the number of active,idle,total pool size from the connection at some point .
I do not find any method of  javax.sql.DataSource class which can return me these things. Please suggest if any way to find these trhu program.

Thanks.


 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!