If you are experiencing trouble using the mfwk agent to monitor Instant Messaging, ensure the following:
The dependencies are installed. In particular, check to make sure the JDMK, CAC, and the mfwk agent are installed. To check, use the following commands:
Solaris:
pkginfo SUNWmfwk-agent (For the mfwk agent.)
pkginfo SUNWcacao (For the CAC.)
For JDMK, if the CAC is running, then the JDMK is installed. You can also check that the jar files are installed under /opt/SUNWjdmk/version/lib and /opt/SUNWjdmk/version/bin, where version is the version number of the JDMK, for example 5.1.
Linux:
rpm -qi sun-mfwk-agent-1.0 (For the mfwk agent.)
rpm -qi sun-cacao-1.0 (For the CAC.)
For JDMK, if the CAC is running, then the JDMK is installed. You can also check that the jar files are installed under /opt/sun/jdmk/version/lib and /opt/sun/jdmk/version/bin, where version is the version number of the JDMK, for example 5.1. In addition, you can use the rpm command.
rpm -qi sun-jdmk-runtime-5.1 |
The CAC is running. To get status on the CAC, use the following commands:
Solaris: /opt/SUNWcacao/bin/cacaoadm status
Linux: /opt/sun/cacao/bin/cacaoadm status
If the CAC is not running, start it as follows:
Solaris: /opt/SUNWcacao/bin/cacaoadm start
Linux: /opt/sun/cacao/bin/cacaoadm start
The XMPP module is loaded within the CAC and running:
/opt/SUNWcacao/bin/cacaoadm status com.sun.im.service.xmpp |
The mfwk agent is loaded within the CAC:
Solaris: /opt/SUNWcacao/bin/cacaoadm list-modules
Linux: /opt/sun/cacao/bin/cacaoadm list-modules
The module name for the mfwk agent is com.sun.mfwk.mfwk_module.
The mfwk agent is running. To get status on the mfwk agent, use the following commands:
Solaris: /opt/SUNWcacao/bin/cacaoadm status com.sun.mfwk.mfwk_module
Linux: /opt/sun/cacao/bin/cacaoadm status com.sun.mfwk.mfwk_module
If the mfwk agent is not running, start it as follows:
Solaris: /opt/SUNWmfwk/bin/mfwkadm start
Linux: /opt/sun/mfwk/bin/mfwkadm start