This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes View open db connections.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "View open db connections.." Watch "View open db connections.." New topic
Author

View open db connections..

Neha Mohit
Ranch Hand

Joined: Apr 25, 2006
Posts: 87
Hi all,

Can we see open db connections in jboss web-console.


Thanks in advance
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5811
    
    7

I don't know about web-console (it has not been working in the latest releases), but using jmx-console, in the jboss.jca:name=XXX,service=ManagedConnectionPool MBean (where XXX is the datasource name), you can find these attributes:

ConnectionCount - current number of connection to the database
InUseConnectionCount - the number of those connections that are active (in use by some app)

and various other counts.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: View open db connections..
 
Similar Threads
jdbc (connection to without dsn)
getting "max open cursors exceeded" from EJB
sharing connection object within methods
Need advice on improving performance
DATABASE LOCKED????