Howto Monitor multiple web applications (with JMX) on a Tomcat server?

Is there a way to control the CPU and memory consumption of an individual web application on a Tomcat server?

I have Tomcat opening all web applications under its JVM, so I see only one JVM and I can not independently control each web application. Web applications are closed WAR files, and I cannot modify Java code.

thanks

+7
source share
2 answers

It seems like the official answer (to a very similar question / suggestion) is to run multiple instances of Tomcat .

+3
source

What do you want to track in a web application? Servlets, heyba ....? If you pass the appropriate string to the name of the object as part of your jmx request, it will list all servlets from all the applications hosted on jvm. This way you can control a separate application on this jvm.

0
source

All Articles