How to activate the JMX remote console

How to activate the JMX remote console

How can I activate the JMX remote console to debug what Java is doing?


As of version 6.1 of Unified Workspace (formerly webNetwork), there is now a checkbox in the 8090 to dynamically turn on / off the JMX and does not require modification to the webNetwork.lax file.

Shutdown Unified Workspace and start back up.


If you are just interested in seeing what the webNetwork Java process is doing :
From any machine running the Java JDK (not the standard JRE) of same bit level, and equal or higher than the one running in \stoneware\jre\bin\:
Run JConsole from the Java JDK bin directory and connect to the Unified Workspace server using the server's IP address on port 8004.

Java's current JDK can be downloaded from the following URL: http://www.oracle.com/technetwork/java/javase/downloads/index.html

If you need to do a HEAP / THREAD dump :
Follow the information at http://files.lenovosoftware.com/support/techdocs/java/createheapthreaddump/Obtaining_Heap__Thread__HotThread_Dump.html

To shut the JMX debug off, just remove the checkbox, save, shutdown and start back up.


Keywords: Heap Dump, Thread Dump, HotThreads, VisualVM