JBoss browses active user sessions

We have a JBoss server with one J2EE. I want to find out who is the current active user using this application. Does JBoss provide any utilities that allow me to view these existing sessions? (NOT an account, but they are all logged in). The question is illogical, but this is also my knowledge of JBoss :)

I checked the JBoss community, but it only had a few relatives with no response. The information I'm looking for will help me in maintenance cycles. I do not want to reboot the system when users are still using it. We also need to track any illegal activity on our server. Hence the requirement.

Would thank all the pointers :)

Regards, Abi

+7
jboss
source share
3 answers

http://docs.jboss.org/jbossas/docs/Server_Configuration_Guide/4/html/clustering-http-monitor.html

  • Enter the JMX console: ex: ip: port / jmx-console /
  • Look at "jboss.cache: service = TomcatClusteringCache" on objectName Filter and Apply.
  • Enter jboss.cache in MBean: service = TomcatClusteringCache (first option, ignore interceptors)
  • Find "printDetails" and call it. It shows all open sessions and attributes.
+2
source share

go to / jmx -console / search for type = Manager or service = ClusterManager click on the correct context. property "activeSessions" gives the number of sessions

0
source share

go to the JMX console http: // localhost: 8080 / jmx-console . Find your MBEAN on it .. click on it .. there you will find a lot of information.

-one
source share

All Articles