[slf4j-dev] [Bug 165] New: Can't use slf4j with axis
bugzilla-daemon at pixie.qos.ch
bugzilla-daemon at pixie.qos.ch
Wed Dec 16 10:01:45 CET 2009
http://bugzilla.slf4j.org/show_bug.cgi?id=165
Summary: Can't use slf4j with axis
Product: SLF4J
Version: 1.5.x
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: major
Priority: P1
Component: Unspecified
AssignedTo: slf4j-dev at qos.ch
ReportedBy: mkr at archikart.de
I tried to use slf4j together with axis.
Therefore I use slf4j 1.5.8 (inclusive jcl-over-slf4j-1.5.8.jar), axis 1.4 and
logback 0.9.16. But when I start my tomcat I get an exception. I read, there
was a similar exception in the past which was fixed within the
jcl104-over-slf4j.jar in 2006. But I couldn't find anything about my concrete
problem. So I thought this problem could also be fixed here.
org.apache.commons.discovery.DiscoveryException: Class
org.apache.commons.logging.impl.SLF4JLogFactory does not implement
org.apache.commons.logging.LogFactory
at
org.apache.commons.discovery.tools.ClassUtils.verifyAncestory(ClassUtils.java:180)
[commons-discovery-0.2.jar:0.2]
at
org.apache.commons.discovery.tools.SPInterface.verifyAncestory(SPInterface.java:201)
[commons-discovery-0.2.jar:0.2]
at
org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.java:195)
[commons-discovery-0.2.jar:0.2]
at
org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:579)
[commons-discovery-0.2.jar:0.2]
at
org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:418)
[commons-discovery-0.2.jar:0.2]
at
org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:378)
[commons-discovery-0.2.jar:0.2]
at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)
[axis.jar:na]
at java.security.AccessController.doPrivileged(Native Method) [na:1.6.0_11]
at
org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41)
[axis.jar:na]
at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)
[axis.jar:na]
at org.apache.axis.transport.http.AxisServlet.<clinit>(AxisServlet.java:75)
[axis.jar:na]
at java.lang.Class.forName0(Native Method) [na:1.6.0_11]
at java.lang.Class.forName(Class.java:169) [na:1.6.0_11]
at
org.apache.axis.transport.http.AxisServletBase.class$(AxisServletBase.java:59)
[axis.jar:na]
at
org.apache.axis.transport.http.AxisServletBase.<clinit>(AxisServletBase.java:58)
[axis.jar:na]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[na:1.6.0_11]
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[na:1.6.0_11]
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[na:1.6.0_11]
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
[na:1.6.0_11]
at java.lang.Class.newInstance0(Class.java:355) [na:1.6.0_11]
at java.lang.Class.newInstance(Class.java:308) [na:1.6.0_11]
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1115)
[catalina.jar:na]
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)
[catalina.jar:na]
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
[catalina.jar:na]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
[catalina.jar:na]
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
[catalina.jar:na]
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
[catalina.jar:na]
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
[catalina.jar:na]
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
[catalina.jar:na]
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
[catalina.jar:na]
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
[catalina.jar:na]
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
[catalina.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_11]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[na:1.6.0_11]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[na:1.6.0_11]
at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_11]
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
[bootstrap.jar:na]
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
[bootstrap.jar:na]
--
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the slf4j-dev
mailing list