ODL-52049 DMS-Startup oracle.core. ojdl.logging. LogUtil log cannot create instance of class ‘oracle. dfw. incident.Incident DetectionLog Filter’

Oracle Fusion Middleware Components (WebCenter, SOA, Identity Management, OBIEE etc) write Diagnostic Log files in Oracle Diagnostic Loader (ODL) format. Configuration file for Logging are stored in $DOMAIN_HOME/ config/ fmwconfig/ [weblogic_server_name]/ logging.xml & dfw_config.xml . To define logging level, you use Fusion Middleware Enterprise Manager control (/em).

If you see error like below while starting WebLogic Managed Server (where Fusion Middleware Application is deployed) then check if

a) If /tmp is not 100% full
or
b) User running Fusion Middleware has write permission on files/directory /tmp/*dfw* 

___________

30-Nov-2012 20:21:34 oracle.core.ojdl.logging.LogUtil log WARNING: unable to read logging configuration from file ‘/u01/oracle/ IDMDomain/ mserver/ IDMDomain/ config/ fmwconfig/ servers/WLS_OIM2/ logging.xml’; exception: oracle. core. ojdl. logging. LoggingConfiguration Exception: ODL-52049: cannot create instance of class ‘oracle. dfw.incident. IncidentDetectionLogFilter’: java. lang. ExceptionInInitializerError oracle.core. ojdl.logging. LoggingConfigurationException: ODL-52049: cannot create instance of class ‘oracle.dfw. incident.Incident DetectionLog Filter’: java. lang. ExceptionInInitializerError
at oracle.core. ojdl.logging. impl.Logging ConfigurationImpl. getInstance(LoggingConfiguration Impl.java:651)

WARNING: unable to register log dump; exception: java. lang. reflect. InvocationTargetException java. lang.reflect. Invocation TargetException
at sun.reflect. NativeMethodAccessorImpl. invoke0(Native Method)
at sun.reflect. NativeMethodAccessorImpl. invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect. DelegatingMethodAccessorImpl. invoke(DelegatingMethodAccessorImpl.java:25)

WARNING: unable to register log dump; exception: java.lang.reflect. InvocationTargetException  java.lang.reflect.Invocation TargetException
at sun.reflect. NativeMethodAccessorImpl. invoke0(Native Method)
at sun.reflect. NativeMethodAccessorImpl. invoke(NativeMethod AccessorImpl.java:39)
at sun.reflect. DelegatingMethodAccessorImpl. invoke(DelegatingMethod AccessorImpl.java:25)

Caused by: java.lang. NoClassDefFoundError: oracle/ dfw/impl/common/ TempFileManager
at oracle.dfw.spi. portable.PortableDiagnostics FrameworkProvider.init(PortableDiagnostics FrameworkProvider.java:120)
at oracle.dfw. framework.Diagnostics Framework.initializeProvider(Diagnostics Framework.java:98)

<30-Nov-2012 20:21:36 o’clock UTC> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class “DMS-Startup”, java.lang. NoClassDefFoundError: oracle/ dfw/ impl/common/ TempFileManager
java.lang. NoClassDefFoundError: oracle/ dfw/ impl/ common/ TempFileManager

_________

 

Root Cause : In my case Fusion Middleware services are running from O.S. user orafmw where files in /tmp/*dfw* are owned by another user oracle

-rw-r—– 1 oracle          oinstall                0 Nov 16 10:23 oracle-dfw-6427038828828930711.tmp.lck
-rw-r—– 1 oracle          oinstall                0 Nov 16 10:23 oracle-dfw-6427038828828930711.tmp.lck 

 

Related/References

 

 

About the Author Atul Kumar

Oracle ACE, Author, Speaker and Founder of K21 Technologies & K21 Academy : Specialising in Design, Implement, and Trainings.

follow me on:

Leave a Comment:

Not found