We use MX4J to access JMX related operations/attributes via a web interface in the container itself. I wanted to know if there are alternatives that are available for it, since the last service release for MX4J was in 2006. I am basically looking to overcome limitations of MX4J in handling collections.
A JMX connector (client and server) that runs JMX through HTTP (or HTTPS).
The console is accessible at http://localhost:8080/jmx-console. The JMX Console provides a raw view of the JMX MBeans which make up the server. They can provide a lot of information about the running server and allow you to modify its configuration, start and stop components and so on.
A common way to enable local JMX access on these JVMs is to include the -Dcom. sun. management. jmxremote option on the command line when you start the JVM.
By default, Java provides a remote JMX connector that is based on Java RMI (Remote Method Invocation).
I was experimenting once with Jolokia and looks pretty cool. From the webpage:
Jolokia is an HTTP/JSON bridge for remote JMX access.
Definitely give it a try. I used it successfully to create an AJAX/JavaScript dashboard displaying configurable JMX metrics on refreshable charts.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With