I'm trying to use a freshly-compiled version of Felix trunk and I
can't seem to get SLF4J to work. I get errors like the following, even
though the SLF4J fragments are in a felix.auto.install property.
WARNING: Fragments with exports, imports, or native code are not
currently supported.
ERROR: Error starting/stopping bundle.
(org.osgi.framework.BundleException: Fragment bundles can not be
stopped.)
org.osgi.framework.BundleException: Fragment bundles can not be stopped.
at org.apache.felix.framework.Felix._stopBundle(Felix.java:2059)
at org.apache.felix.framework.Felix.stopBundle(Felix.java:2033)
at
org.apache.felix.framework.Felix.setBundleStartLevel(Felix.java:1333)
at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:271)
at java.lang.Thread.run(Thread.java:613)
Auto-properties start: org.osgi.framework.BundleException: Fragment
bundles can not be started.
config:
felix.auto.install.1 = \
file:bundle/slf4j-simple-1.5.6.jar \
file:bundle/jcl-over-slf4j-1.5.6.jar \
Log4J and the SLF4J API is in felix.auto.start.1
Has anyone gotten SLF4J 1.5.6 to work in Felix 1.5?
Thanks!
Jon Brisbin
http://jbrisbin.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]