JConsole
Log in as root.
Set the CLASSPATH to include the location of the CAC, JConsole
, and the JMX jar file.
The line should be entered as a single line without line breaks.
On Solaris:
/opt/SUNWcacao/lib/cacao_cacao.jar:/opt/SUNWjdmk/5.1/lib /jmxremote_optional.jar:/usr/jdk/entsys-j2se/lib/jconsole.jar |
On Linux:
/opt/sun/cacao/share/lib/cacao_cacao.jar:/opt/sun/jdmk/5.1/lib /jmxremote_optional.jar:/usr/jdk/entsys-j2se/lib/jconsole.jar |
Run JConsole.
On both platforms, enter the command as a single line with a space between JConsole and “service.
On Solaris:
/usr/jdk/entsys-j2se/bin/java sun.tools.jconsole.JConsole "service:jmx:cacao-jmxmp://localhost;wellknown=true;username=root" |
On Linux:
/usr/jdk/entsys-j2se/bin/java sun.tools.jconsole.JConsole "service:jmx:cacao-jmxmp://localhost;wellknown=true;username=root" |
On the MBeans tab, expand the XMPP tree.
The service attributes and their values are listed within the tree. See Table 17–1 for a complete list of Instant Messaging services visible through JConsole
.