logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fredy <softwarearchit...@email.de>
Subject commons-logging-1.0.4 with log4J
Date Tue, 14 Feb 2006 07:50:27 GMT
Hi all,
i've a [maven2] webapp with struts 1.2.8 and this using commons-logging-1.0.4. I also use
log4j. But Starting Tomcat throws following Exception ;-(

I've tryed log4j 1.2.8, 1.2.9 and now 1.2.13 all versions fail. if I go back to struts 1.2.2
wich is using commons-logging-1.0 then tomcat starts!

Which log4J Version shall I use with commons-logging-1.0.4 ????

Fredy

4.02.2006 08:45:44 org.apache.commons.modeler.Registry registerComponent
SCHWERWIEGEND: Null component Catalina:type=JspMonitor,WebModule=//localhost/awop_console,J2EEApplication=none,J2EEServer=none
java.lang.reflect.InvocationTargetException
	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:324)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
Caused by: java.lang.NoSuchMethodError: org.apache.log4j.Category.log(Ljava/lang/String;Lorg/apache/log4j/Level;Ljava/lang/Object;Ljava/lang/Throwable;)V
	at org.apache.commons.logging.impl.Log4JCategoryLog.debug(Log4JCategoryLog.java:94)
	at org.apache.catalina.session.ManagerBase.init(ManagerBase.java:627)
	at org.apache.catalina.session.StandardManager.start(StandardManager.java:639)
	at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:499)
	at org.apache.catalina.startup.ContextConfig.managerConfig(ContextConfig.java:315)
	at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:635)
	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:216)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4290)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
	at org.apache.catalina.core.StandardService.start(StandardService.java:480)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
	... 6 more


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message