[jboss-user] [Beginners Corner] - Re: Monitor user sessions in JBoss
mrgordonz
do-not-reply at jboss.com
Thu Aug 7 19:48:37 EDT 2008
Hi Peter,
Thanks for that info. I tried browsing to http://localhost:8180/jmx-console/ on the server and I got a huge listing of stuff (I don't even know what the stuff is!). What I do know is the application I host (Saba) has a single ear file which I deploy (D:\SabaWeb\JBoss_Tomcat\server\default\deploy\saba.ear), and in the ear file is a saba.war file and a saba.jar file, which as I understand it is pretty much standard for J2EE applications. What I am interested in is how many people have an active session in that application.
I found what I think is the mbean you mentioned:
name=http-0.0.0.0-8180,type=ThreadPool
And when I follow the link it shows a value for currentThreadsBusy. I did a test by logging in as several different people, and then refreshed the mbean view, but nothing changed.
I find it odd that there is no easy way to find out how many users have an active session in a particular application - I would have thought that was a metric which most system administrators would like to monitor from time to time.
Cheers,
Paul Hobbs
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169425#4169425
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169425
More information about the jboss-user
mailing list