commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Jha" <amitn...@gmail.com>
Subject Re: Log4JLogger does not implement Log
Date Wed, 03 May 2006 08:25:33 GMT
I had the same problem when I included commons-logging.jar and log4j.jar in
WEB-INF/lib
Once I removed it from there everything was fine.
It seems it has conflict with what Jboss log4j has already.

Regards,
Amit

On 5/3/06, Balajee Csekaran <Balajee_Csekaran@symantec.com> wrote:
>
> Hi all,
> I'm trying to load one of my ATG 7.1 applications onto JBoss 4.0.3 SP1
> application server.
> I'm getting the following error when the server starts up
> Any help in resolving the error would be highly appreciated
>
> Thanks in advance
> Balajee C
> ==================================
> 11:45:05,379 INFO  [EARDeployer] Init J2EE application:
> file:/D:/jboss403SP1/server/atg/deploy/QuincyFunds.ear/
> 11:45:10,019 INFO  [EjbModule] Deploying ClasspathSession
> 11:45:10,176 INFO  [BaseLocalProxyFactory] Bound EJB LocalHome
> 'ClasspathSession' to jndi 'local/ClasspathSession@25056201'
> 11:45:10,176 INFO  [EJBDeployer] Deployed:
> file:/D:/jboss403SP1/server/atg/deploy/QuincyFunds.ear/atg_bootstrap_ejb
> .jar/
> 11:45:10,207 INFO  [TomcatDeployer] deploy, ctxPath=/dyn/admin,
> warUrl=.../deploy/QuincyFunds.ear/atg_admin.war/
> 11:45:10,254 ERROR [Digester] Begin event threw exception
> org.apache.commons.logging.LogConfigurationException:
> org.apache.commons.logging.LogConfigurationException: org.apache.commo
> ns.logging.LogConfigurationException: Class
> org.apache.commons.logging.impl.Log4JLogger does not implement Log
>         at
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImp
> l.java:532)
>         at
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImp
> l.java:272)
>         at
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImp
> l.java:246)
>         at
> org.apache.commons.logging.LogFactory.getLog(LogFactory.java:398)
>         at
> org.apache.catalina.session.ManagerBase.<init>(ManagerBase.java:63)
>         at
> org.apache.catalina.session.StandardManager.<init>(StandardManager.java:
> 64)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
> Source)
>         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
> Source)
>         at java.lang.reflect.Constructor.newInstance(Unknown Source)
>         at java.lang.Class.newInstance0(Unknown Source)
>         at java.lang.Class.newInstance(Unknown Source)
>         at
> org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.
> java:205)
>         at org.apache.tomcat.util.digester.Rule.begin(Rule.java:152)
>         at
> org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1275
> )
>         at
> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>         at
> org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
> Source)
>         at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(U
> nknown Source)
>         at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
> patcher.dispatch(Unknown Source)
>         at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
> wn Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
>         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)
>         at
> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>         at
> org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
>         at
> org.apache.catalina.startup.ContextConfig.processContextConfig(ContextCo
> nfig.java:778)
>         at
> org.apache.catalina.startup.ContextConfig.contextConfig(ContextConfig.ja
> va:714)
>         at
> org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:974)
>         at
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.j
> ava:273)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
> pport.java:119)
>         at
> org.apache.catalina.core.StandardContext.init(StandardContext.java:5019)
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:3885
> )
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
> va:759)
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at
> org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503
> )
>         at
> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
>         at
> org.apache.catalina.core.StandardContext.init(StandardContext.java:5005)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at
> org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503
> )
>         at
> org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
>         at
> org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDepl
> oyer.java:280)
>         at
> org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.jav
> a:88)
>         at
> org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357)
>         at org.jboss.web.WebModule.startModule(WebModule.java:68)
>         at org.jboss.web.WebModule.startService(WebModule.java:46)
>         at
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupp
> ort.java:274)
>         at
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBean
> Support.java:230)
>         at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
> java:141)
>         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
>         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
>         at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav
> a:245)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
>         at
> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController
> .java:943)
>         at $Proxy0.start(Unknown Source)
>         at
> org.jboss.system.ServiceController.start(ServiceController.java:428)
>         at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
> java:141)
>         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
>         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
>         at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav
> a:245)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
>         at
> org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
>         at $Proxy39.start(Unknown Source)
>         at
> org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:400)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
> java:141)
>         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
>         at
> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.
> java:118)
>         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
>         at
> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBea
> nOperationInterceptor.java:127)
>         at
> org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.ja
> va:80)
>         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
>         at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav
> a:245)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
>         at
> org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
>         at $Proxy40.start(Unknown Source)
>         at
> org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
>         at
> org.jboss.deployment.MainDeployer.start(MainDeployer.java:979)
>         at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
>         at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
>         at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
> java:141)
>         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
>         at
> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.
> java:118)
>         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
>         at
> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBea
> nOperationInterceptor.java:127)
>         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
>         at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav
> a:245)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
>         at
> org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
>         at $Proxy6.deploy(Unknown Source)
>         at
> org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentSc
> anner.java:319)
>         at
> org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScan
> ner.java:507)
>         at
> org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doS
> can(AbstractDeploymentScanner.java:192)
>         at
> org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(Abst
> ractDeploymentScanner.java:265)
>         at
> org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupp
> ort.java:274)
>         at
> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBean
> Support.java:230)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
> java:141)
>         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
>         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
>         at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav
> a:245)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
>         at
> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController
> .java:943)
>         at $Proxy0.start(Unknown Source)
>         at
> org.jboss.system.ServiceController.start(ServiceController.java:428)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
> java:141)
>         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
>         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
>         at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav
> a:245)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
>         at
> org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
>         at $Proxy4.start(Unknown Source)
>         at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
>         at
> org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
>         at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
>         at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
>         at
> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.
> java:141)
>         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
>         at
> org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.
> java:118)
>         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
>         at
> org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBea
> nOperationInterceptor.java:127)
>         at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
>         at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav
> a:245)
>         at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
>         at
> org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
>         at $Proxy5.deploy(Unknown Source)
>         at
> org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
>         at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
>         at org.jboss.Main.boot(Main.java:187)
>         at org.jboss.Main$1.run(Main.java:438)
>         at java.lang.Thread.run(Unknown Source)
> Caused by: org.apache.commons.logging.LogConfigurationException:
> org.apache.commons.logging.LogConfigurationException: Class
> org.apache.commons.logging.impl.Log4JLogger does not implement Log
>         at
> org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFact
> oryImpl.java:416)
>         at
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImp
> l.java:525)
>         ... 164 more
> Caused by: org.apache.commons.logging.LogConfigurationException: Class
> org.apache.commons.logging.impl.Log4JLogger does not
> implement Log
>         at
> org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFact
> oryImpl.java:412)
>         ... 165 more
> ===============================
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message