Meaningless Drivel is fun!*
The moose likes Design and the fly likes Monitoring Pages Web JSP/JSF with JMX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Design
Bookmark "Monitoring Pages Web JSP/JSF with JMX" Watch "Monitoring Pages Web JSP/JSF with JMX" New topic

Monitoring Pages Web JSP/JSF with JMX

simone santos

Joined: May 20, 2013
Posts: 4
Good night
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

Thank you

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41052
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.

Ping & DNS - my free Android networking tools app
It is sorta covered in the JavaRanch Style Guide.
subject: Monitoring Pages Web JSP/JSF with JMX
Similar Threads
Activating JMX for tomcat 5.5.9 on As/400 iseries
Need help on Visual JSF Development
jmx remote
JSF Is it really requirerd
Websphere JSF Problem