Sun Java System Instant Messaging 7 2006Q1 Administration Guide

ProcedureTo View Instant Messaging Monitoring Information Using JConsole

Steps
  1. Log in as root.

  2. Set the CLASSPATH to include the location of the CAC, JConsole, and the JMX jar file.


    Note –

    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
  3. Run JConsole.


    Note –

    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"
    
  4. 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.