Abhishek Rath wrote:In our case many web applications are deployed in each server.So does JMX+Jconsole provide the count per server or per web apps
Each tomcat has 1 JMX agent running, which provides session counts for every individual webapp running in that tomcat instance.
Try out with jconsole - you'll understand easily. It'll show a node under Manager for each webapp, and each node reports an 'activeSession' variable.