Friday, December 24, 2010

How to Enable JRockit Remote Management

To enable a JRockit JVM for remote management, the external management agent must be started.

There are two ways to start the management agent:

1. Start the JVM with the -Xmanagement command-line.

JROCKIT_HOME/bin/java -Xmanagement:ssl=false,authenticate=false,port=4711

2. use JRCMD when the JVM is already started.

use JRCMD to find the PID of the JVM (4620 for example)

JROCKIT_HOME/bin/jrcmd 4620 start_management_server ssl=false authenticate=false port=4711 autodiscovery=true

The command line will not produce any output if everything goes well.

No comments: