slf4j fragment bundle load error
Code:
org.osgi.framework.BundleException: A fragment bundle cannot be started: file--//osgi/-dm-server-1.0.1.RELEASE/repository/bundles/usr/com..slf4j.jcl-1.5.6.jar [134]
at org.eclipse.osgi.framework.internal.core.BundleFragment.startWorker(BundleFragment.java:224)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:265)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:257)
at org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:257)
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:585)
at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:150)
at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:302)
at org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:287)
at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:223)
at java.lang.Thread.run(Thread.java:613)
i can't seem to figure out why this bundle won't load.
the commons.logging version 1.1.1 is available in the system bundle[0] and the slf4j api bundle v. 1.5.6 (the master bundle) is stated to be ACTIVE.
anyone have an idea why this fragment is failing to load?
From the exception message it looks as if you have attempted to start the fragment bundle. A fragment cannot be started, it will only ever get as far as the RESOLVED state and, as it can't be started, will never be listed as ACTIVE.
Was the fragment listed as resolved? If the console shows a fragment as being RESOLVED, then it has successfully attached to its host and will contribute its contents (classes, resources, etc.) to the host's class space. |