Oracle Fusion Middleware Administration Guide for Oracle Directory Server Enterprise Edition

Troubleshooting Java ES MF Monitoring

If Java ES MF monitoring does not work, ensure that you have correctly installed the Common Agent Container, as described in Chapter 2, Installing Directory Server Enterprise Edition, in Oracle Fusion Middleware Installation Guide for Oracle Directory Server Enterprise Edition.

If you are still experiencing problems, see the Sun Java Enterprise System 5 Update 1 Monitoring Guide.

The Java ES MF embeds Service Tag packages. Note, however, that Service Tags are included by default in Java 1.5 revision 19 and higher. This duplicate provision of the Service Tag software can result in errors when you attempt to enable SNMP through the Java ES MF. The error message (in /var/adm/messages) is similar to the following:


May 7 14:48:06 ksinfdsrt2 cacao:default[16905]: [ID 702911 daemon.warning]
com.sun.cacao.element.ElementSupport.setAdministrativeState : 
caught throwable when starting : 
tried to access method com.sun.servicetag.ServiceTag.<init>()V
from class com.sun.mfwk.servicetag.MfServiceTagRegistration

May 7 14:48:06 ksinfdsrt2 java.lang.IllegalAccessError: 
tried to access method com.sun.servicetag.ServiceTag.<init>()V 
from class com.sun.mfwk.servicetag.MfServiceTagRegistration

To avoid this issue, you must disable the invocation of Service Tags in the Java ES MF as follows:

  1. Stop cacao.


    $ cacaoadm stop -f
  2. Set logging to the finest level.


    $ cd /etc/opt/SUNWmfwk/config
    $ cp mfwk.properties.sample mfwk.properties
  3. Add the following properties to the mfwk.properties file:


    mfwk.agent.servicetag.registration.enable=false
  4. Restart cacao.


    $ cacaoadm start
  5. Verify that the Java ES MF is fully registered within cacao. Check the Java ES MF logs and the cacao logs and verify that the Java ES MF is functioning properly within cacao.

  6. Enable SNMP.


Note –

This procedure is not required for Java 1.6 or for Java 1.5 revisions prior to revision 19.