1

Possible Duplicate:
Find number of active sessions created from a given client IP
Getting a list of active sessions in Tomcat using Java

I want to know the number of sessions in JVM. How can I find it to manage it in application server? Application server is tomcat.

Community
  • 1
  • 1
AFF
  • 1,515
  • 4
  • 21
  • 35
  • That information is not contained in the JVM. See the Tomcat manual. – Johan Sjöberg Oct 28 '12 at 11:51
  • You can use `HttpSessionListener` Check [Find number of active sessions created from a given client IP](http://stackoverflow.com/questions/3679465/find-number-of-active-sessions-created-from-a-given-client-ip) – Amit Deshpande Oct 28 '12 at 11:51

0 Answers0