Please, someone know how monitoring pages web JSF/JSP using JMX I need monitoring memory, swap, load Average information about aplication with JMX
I created an interface to expose the methods already implemented this interface and have created an Agent with the MBeanServer already registered MBeans, and I'm using an adapter as client HtmlAdaptorServer
But I'm don't know how to use it, how monitor the page JSP
any example or suggestion please
posted 2 years ago
An HtmlAdaptorServer uses HTTP to expose the information; when you instantiated it you probably needed to specify on which port that happens. Try accessing the server on that port.
If this was my server, and there was a way I could access it through any port I chose to, I would use JConsole or VisualVM to access the server directly via JMX.
And keep in mind that you're not monitoring JSP or JSF or any web pages, you're monitoring a JVM via JMX.