cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amichai Rothman (JIRA)" <>
Subject [jira] [Created] (DOSGI-208) OSGi compendium bundle installed by feature causes problems
Date Sun, 13 Oct 2013 07:57:42 GMT
Amichai Rothman created DOSGI-208:

             Summary: OSGi compendium bundle installed by feature causes problems
                 Key: DOSGI-208
             Project: CXF Distributed OSGi
          Issue Type: Bug
    Affects Versions: 1.6.0
         Environment: Karaf 2.3.3
            Reporter: Amichai Rothman
            Assignee: Amichai Rothman

The DOSGi feature installs the OSGi compendium bundle. This bundle exports lots of OSGi apis,
and when installed in Karaf it causes various failures - for example ActiveMQ fails to start
(see AMQ-4777), some blueprint errors etc. This is probably due to duplicate exports of some
of these apis. Limiting the exported OSGi packages, i.e. not installing the entire compendium
bundle, fixes the issues.

There are several possible fixes:
1. Include the OSGi enterprise bundle instead of the compendium. This bundle exports fewer
apis, but still more than DOSGi needs, and so can theoretically cause the same sort of issues.
2. Have one of the core DOSGi bundles embed+import+export only the required OSGi apis via
an appropriate maven bundle plugin configuration.
3. Create a new DOSGi bundle with nothing but the required OSGi exports as in #2.

After a little discussion (,Fri)
it seems #3 is the preferred option.

This message was sent by Atlassian JIRA

View raw message