• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

View open db connections..

 
Neha Mohit
Ranch Hand
Posts: 87
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

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


Thanks in advance
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic