[jboss-user] [Beginners Corner] - Re: How to check the connection status between JBoss and Dat

PeterJ do-not-reply at jboss.com
Fri Nov 7 11:30:34 EST 2008


In JBossAS, you use a *-ds.xml file to set up a data source, which is then used to maintain database connections. See the docs for more details.

You can use the JMX Console to monitor a connection. In a browser enter http://localhost:8080/jmx-console. You will be shown a long list on mbeans. Scroll down to a bean named jboss.jca:name=DSNAME,service=ManagedConnectionPool, where DSNAME is the name of your data source (this name comes from the *-ds.xml file). Click on that link and you will be shown the current connection statistics.

Finally, if there is an issue with a connection, an exception stack trace usually shows up in the logs.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187775#4187775

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187775



More information about the jboss-user mailing list