Friday, 3 June 2011

JDeveloper Integrated Weblogic JDKLog4J error


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


Put the following JARs in your DefaultDomain's lib folder:                                    (<user_home>/JDeveloper/system11.  

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