• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Monitoring Pages Web JSP/JSF with JMX

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
First, you drop a couch from the plane, THEN you surf it. Here, take this tiny ad with you:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic