IntelliJ Java IDE
The moose likes JBoss and the fly likes Monitoring the connection pool usage Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "Monitoring the connection pool usage" Watch "Monitoring the connection pool usage" New topic
Author

Monitoring the connection pool usage

Henry Leung
Greenhorn

Joined: Oct 26, 2003
Posts: 24
I have a web app running on Jboss 2.4.3. I suspect that the connection pool size is a bottleneck of the app's performance. So I wonder if JBoss has any feature for me to monitor the usage of the connection pool? Say, to dynamically display how many connections are fetched, how many are in the pool, how many threads are waiting for a connection, etc.

If not, is there any analyzing tool to do that?
Peter Rooke
Ranch Hand

Joined: Oct 21, 2004
Posts: 769
Have you tried the JBoss Web Console (http://localhost:8080/web-console/). Otherwise you may have to look at JMX.


Regards Pete
Henry Leung
Greenhorn

Joined: Oct 26, 2003
Posts: 24
Originally posted by Peter Rooke:
Have you tried the JBoss Web Console (http://localhost:8080/web-console/). Otherwise you may have to look at JMX.


sorry, a typo, I am actually using JBoss 2.4.8.

It seems that my JBoss does not have a web-console. I don't see the relevant war in the deploy folder.

I am not familiar with JMX, just heard of it before. I did find a JMX web agent on port 8082. But it only provides configurations for the DataSourceLoader, such as max-pool-size, min-pool-size, timeout, etc.
 
 
subject: Monitoring the connection pool usage
 
Threads others viewed
is it possible to view connection pool usage??
Multiple oracle processes getting created
connection pool in jboos
Detecting Crashes in JBoss 4.0.2
New Article: JDBC Connection Pooling
developer file tools