cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amichai Rothman (JIRA)" <>
Subject [jira] [Resolved] (DOSGI-208) OSGi compendium bundle installed by feature causes problems
Date Tue, 29 Oct 2013 09:24:30 GMT


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:
>             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 (,Fri)
it seems #3 is the preferred option.

This message was sent by Atlassian JIRA

View raw message