The Sun JMX agent can also be activated in remote mode (where a connection is made through an RMI lookup). However, since SkyVault is always preconfigured to allow a secure remote JMX connection on any JVM, it is most likely that you will choose to activate the Sun JMX agent in local mode. This will mean the platform MBean Server will be shared by SkyVault and still be available for remote connections through the RMI connector.
-
To activate the Sun JMX agent in local mode, ensure that the following system property
is set:
com.sun.management.jmxremote
For example, in your Tomcat startup script, you could use the following line:
export JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.management.jmxremote"
- Refer to the Sun documentation for more information on all the possible configuration options.