JDeveloper 11.1.1.5 Integrated Weblogic JDKLog4J error
Problem:
After you have changed the logging implementation of your Integrated Weblogic to be Log4J (for whatever good reason), you might see the following exception get thrown on startup:
<2011/06/03 16:10:35> <Error> <Log Management> <BEA-170022> <Log4j failed to initialize for DefaultServer. The default JDK Logging implementation will be used.
java.lang.ClassNotFoundException: weblogic.logging.log4j.JDKLog4jAdapterFactory
Solution:
Put the following JARs in your DefaultDomain's lib folder: (<user_home>/JDeveloper/system11.1.1.5.37.60.13/DefaultDomain/lib)
wllog4j.jar [fetch it from Weblogic's server/lib/ directory]
com.bea.core.apache.log4j_1.2.13.jar [fetch it from JDEV's Middleware/modules/ directory]
Now the Log4J instance of the Integrated Weblogic initialize properly.
No comments:
Post a Comment