It's possible we have a bug in this checking code, since we added it recently.

I modified the error messsage to include the bundle ID, so make sure it is the bundle you think it is.

Perhaps give your entire configuration.

-> richard

Jon Brisbin wrote:
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to