[ 
https://issues.apache.org/jira/browse/DOSGI-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amichai Rothman resolved DOSGI-208.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6.0

Added a new bundle with the minimal required OSGi Compendium exports, which is 
referenced by the feature instead of the full compendium bundle.

> OSGi compendium bundle installed by feature causes problems
> -----------------------------------------------------------
>
>                 Key: DOSGI-208
>                 URL: https://issues.apache.org/jira/browse/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
>             Fix For: 1.6.0
>
>
> 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 
> (http://irclogs.dankulp.com/logs/irclogger_log/karaf?date=2013-10-11,Fri) it 
> seems #3 is the preferred option.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to