The OBR ResolverImpl shouldn't try to start fragment bundles
------------------------------------------------------------

                 Key: FELIX-999
                 URL: https://issues.apache.org/jira/browse/FELIX-999
             Project: Felix
          Issue Type: Bug
          Components: Bundle Repository (OBR)
    Affects Versions: felix-1.4.1
            Reporter: Kristian Koehler


If a fragment bundle is deployed via the OBR ResolverImpl the resolver tries to 
start this one. This results in an exception:

--- 8< ---
ERROR: Resolver: Start error - XXX
org.osgi.framework.BundleException: Fragment bundles can not be started.
        at org.apache.felix.framework.Felix._startBundle(Felix.java:1614)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1588)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:382)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:363)
        at 
org.apache.felix.bundlerepository.ResolverImpl.deploy(ResolverImpl.java:560)
        at de.brz.stratos.goa.OSGiUtil.startBundles(OSGiUtil.java:61)
        at de.brz.stratos.goa.GoaFelixLoader.run(GoaFelixLoader.java:53)
        at de.brz.stratos.goa.GoaFelixLoader.main(GoaFelixLoader.java:121)

--- 8< ---

Kristian

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to