I found that when using JConsole , as suggested in other answers to connecting to JBoss (5.2) through JMX, MBeans for the connection pool were not visible.
Instead, I used the built-in JMXConsole , usually available at: http: // localhost: 8080 / jmx-console - you may need to change the host name and port for deployment.
If this is done, you will see a username and password prompt.
Default username / password: admin / admin
I first discovered that nothing happened, I had to update the file: server / default / conf / props / jmx-console-users.properties and uncomment the second line:
Once this was done, I was able to log in. At this point, I entered in the Object Name Filter : jboss.jca: * Then I selected the appropriate connection pool link, for example: name = DefaultDS, service = ManagedConnectionPool , which shows all the information about the connection pool, for example AvailableConnectionCount, InUseConnectionCount, etc.
ptha
source share