[jboss-user] [Beginners Corner] - Re: Monitor user sessions in JBoss

PeterJ do-not-reply at jboss.com
Thu Aug 7 11:52:31 EDT 2008


I have never seen anything that tracks the number of active session, but there is data about the current number of active requests - the currentThreadsBusy attribute of the jboss.web:name=http-127.0.0.1-8080,type=ThreadPool mbean (your mbean might be named differently based on the IP address your app server is bound to).

Most monitoring tools use JMX, and the MBeans provided by JBossAS, to provide their data. The jmx-console is an MBean browser for JBossAS. To access it, use the url:  http://hostname:8080/jmx-console. (If this doesn't work, make sure that the app server has the directory server/xxx/deploy/jmx-console.war - some people remove this directory for production.) Once you know the MBean name and attribute it is usually simple to configure the monitoring tool to access the data.

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

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



More information about the jboss-user mailing list