My Oracle Support Banner

Enterprise Manager Fusion Middleware Control (FMWc) Fails with "java.lang.NoClassDefFoundError: org/apache/log4j/config/Log4j1ConfigurationFactory" and "java.lang.ClassNotFoundException: org.apache.log4j.config.Log4j1ConfigurationFactory" (Doc ID 2910442.1)

Last updated on OCTOBER 09, 2024

Applies to:

Enterprise Manager for Fusion Middleware - Version 12.2.1.4.0 to 12.2.1.4.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

After applying Patch 34542329 FMW Control 12.2.1.4 SPU/Merge for Consolidated Updates, Enterprise Manager Fusion Middleware Control (FMWc) (/em) cannot start and a 404 error is returned when trying to access the /em page.

The AdminServer.log shows the following error information.

<BEA-101163> <Could not load user defined listener: oracle.sysman.eml.app.ContextInitializer
java.lang.NoClassDefFoundError: org/apache/log4j/config/Log4j1ConfigurationFactory
    at oracle.sysman.core.common.server.StartUpLogger.configureLoggerWithDefaultConfig(StartUpLogger.java:130)
    at oracle.sysman.eml.app.ContextInitializer.<init>(ContextInitializer.java:190)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
...
Caused By: java.lang.ClassNotFoundException: org.apache.log4j.config.Log4j1ConfigurationFactory
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990)

...
<BEA-149231> <Unable to set the activation state to true for the application "em".
weblogic.application.ModuleException: java.lang.ClassNotFoundException: org.apache.log4j.config.Log4j1ConfigurationFactory
    at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:233)
...
Caused By: java.lang.ClassNotFoundException: org.apache.log4j.config.Log4j1ConfigurationFactory
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990)

 

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.