[slf4j-user] Possible packaging regression in jcl-over-slf4j 1.1.0-RC1
david varnes
lists at varnes.net
Sun Dec 10 01:40:25 CET 2006
Ceki,
Upgrading jcl104-over-slf4j from 1.0.1 to 1.1.0-RC1 in a web
app using:
axis-1.4.jar
axis-jaxrpc-1.4.jar
commons-discovery-0.4.jar
throws the exception at the bottom of this email. Using 1.0.1
works fine. There is definately no version of the original
jcl jars in the environment.
This seems to be due to an omission in the META-INF/services
directory of the 1.1.0-RC1 jar. This makes sense since the 1.1.0
series went through a different packaging build process.
>From your release notes for 1.0.1
> May 1st, 2006 - Release of SLF4J 1.0.1
>
> Release 1.0.1 is a maintenance release containing bug fixes only.
>
> - Added the file "org.apache.commons.logging.LogFactory" under
> META-INF/services directory in the jcl104-over-slf4j jar file. This
> fixes a compatibility problem with Apache Axis which uses its own
> discovery mechanism, namely, commons-discovery version 0.2. The bug
> was reported by Dave Wallace.
Seems we have regressed this fix. Another David, same problem ! :-)
Caused by: org.apache.commons.discovery.DiscoveryException: No
implementation defined for org.apache.commons.logging.LogFactory
at
org.apache.commons.discovery.tools.ClassUtils.verifyAncestory(ClassUtils.java:131)
at
org.apache.commons.discovery.tools.SPInterface.verifyAncestory(SPInterface.java:156)
at
org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.java:150)
at
org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:534)
at
org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:373)
at
org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:333)
at
org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41)
at
org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)
thanks very much for this project,
best regards
david varnes
More information about the slf4j-user
mailing list