[Administration-Monitoring]: 01 JMX Console

JConsole uses the extensive instrumentation of the Java virtual machine to provide information on performance and resource consumption of applications running on the Java platform using Java Management Extension (JMX) technology.

The following steps allow a user to monitor Elixir Repertoire Server using the JConsole -

  1. Copy the following 2 lines into your startServer.bat(for Windows) & startServer.sh(for Unix). JConsole can be found in the Java 2 Platform, Standard Edition (J2SE)/bin directory.

Note: Minimum Java 2 Platform, Standard Edition (J2SE) 5.0 must be installed. -

For startServer.bat(Windows)

<i>-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.authenticate=false</i>
  1. Start a command prompt and startup the Elixir Repertoire Server using the startServer.bat.

  2. Check that the server is running by opening a browser and point to http://localhost:8080 to see if the login page is active.

  3. Start another command prompt and launch the JConsole pointing to the jconsole in the java/bin folder.

  4. JConsole Management will be launched.

For startServer.sh(Unix)

<i>-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.authenticate=false</i>
  1. Start a terminal and startup the Elixir Repertoire Server using the startServer.sh.
  2. Check that the server is running by opening a browser and point to http://localhost:8080 to see if the login page is active.
  3. Start another terminal and launch the JConsole pointing to the jconsole in the java/bin folder.
  4. JConsole Management will be launched.

Below are the attached samples to be used with JConsole -
startServer-JMX-Unix.zip.zip (392 Bytes)
startServer-JMX.zip (482 Bytes)