wood burning stoves 2.0*
The moose likes JDBC and the fly likes How to find number of JDBC connections used in Glassfish? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to find number of JDBC connections used in Glassfish?" Watch "How to find number of JDBC connections used in Glassfish?" New topic
Author

How to find number of JDBC connections used in Glassfish?

Namitha karupaiya
Ranch Hand

Joined: Mar 10, 2004
Posts: 89
How can I find out the number of JDBC connections currently used in a Glassfish server?

Is it possible to get the (graphical) data of used JDBC connections over time?

Thanks.
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2497
    
    8

You can use your pool's MBean interface:
http://blogs.sun.com/technical/entry/jdbc_pool_monitoring_using_management


OCUP UML fundamental and ITIL foundation
youtube channel
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to find number of JDBC connections used in Glassfish?