General J2EE: Simple L4J Logging with WebLogic 10.3 and Workshop

  1. Simple L4J Logging with WebLogic 10.3 and Workshop (1 messages)

    Hi - noobie here - I'm doing a simple L4J Logging with WebLogic 10.3.

    I have setup a simple WebLogic project - with the following in my WEB-INF/classes: commons-logging.properties and log4j.properties.

    I have Servers ->  Admin Server-> Logging set to L4J.

    I have downloaded the log4j-1.2.16.jar and placed it in the WEB-INF/lib folder of the project. I also put wllog4j.jar in the WEB-INF/lib folder. I put the log4j-1.2.16.jar and wllog4j.jar in the build-path of the project as well.

    I do a build all - and publish the corresponding EAR to my WebLogic Server and keep on getting the following error in the console:

    java.lang.ClassNotFoundException: weblogic.logging.log4j.JDKLog4jAdapterFactory

    I have all my files positioned in the right folders correct for deployment? So why am I getting this error?

  2. Simple L4J Logging with WebLogic 10.3 and Workshop[ Go to top ]

    Please try this

    You need to source the wllog4j.jar  to your domain library folder