1 Reply Latest reply on Aug 21, 2008 11:21 AM by Peter Johnson

    Error while using log4j.jar file

    kks_krishna Newbie

      HI,

      I am getting the following error while using the web application specific log4j.jar file. I want to override the JBoss library for the log4j. Please help me on this issue:

      org.apache.commons.logging.LogConfigurationException: User-specified log class 'org.apache.commons.logging.impl.Log4JLogger' cannot be found or is not useable.
       at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:798)
       at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:601)
       at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:333)
       at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:664)
       at org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:382)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4232)
       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)