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

Is there a way to monitor CPU and Memory consumption of an individual web application on a Tomcat server?

I have Tomcat opening all the web applications under its JVM, so I only see one JVM and cannot monitor each web-app by itself.
The web-apps are sealed WAR files and I cannot tamper with the Java code either.

Thanks


看起来正式的答案(对于一个非常类似的问题/建议)是运行多个Tomcat实例。


What do you want to monitor in web application? Servlets, ejbs....? If you pass corresponding objectname string as part of your jmx query, it will list all servlets from all applications hosted on the jvm. This way you can monitor individual application on that jvm.

链接地址: http://www.djcxy.com/p/10246.html

上一篇: 会话变量从while循环发送特定变量

下一篇: 如何在Tomcat服务器上监控多个Web应用程序(使用JMX)?