Elastic Path is leveraging the power of JMX technologies that are embedded into your Java platform. JMX provides an enhanced set of monitoring tools for your Elastic Path web applications. This section provides a general overview of JMX and its capabilities.
JMX stands for Java Management Extensions.
JMX allows you to monitor and control your Java application processes. Using JMX, you can:
- Obtain values and statistics from Java objects
- Set values in Java objects
- Perform operations remotely
- Monitor your applications externally
- Use a simple active notification system
Click here for further information.
What can I do with JMX?
The JMX client JConsole is built into your Java platform. JConsole is a JMX-compliant monitoring tool built into J2SE5.0. JMX enables it to compile performance and resource reports of applications running on the Java platform.
It is also possible to set up your own JMX client, click here for more detailed information.
Enabling JMX Remote Connections
To enable JMX remote connections to your production server:
- Open your server's startup script with a text editor.
- Modify JAVA_OPTS to include the following:
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=6969 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=falseThis will allow a JMX client to connect to port 6969.
- Restart your server.