karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gareth Collins (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-1796) Feature Install Sequence Should Be Install/Install/Install...Start/Start/Start
Date Thu, 06 Sep 2012 01:52:07 GMT

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

Gareth Collins updated KARAF-1796:

    Attachment: KARAF-1796.txt

Attached is a patch for karaf 2.2.9 which works for me.
> Feature Install Sequence Should Be Install/Install/Install...Start/Start/Start
> ------------------------------------------------------------------------------
>                 Key: KARAF-1796
>                 URL: https://issues.apache.org/jira/browse/KARAF-1796
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>            Reporter: Gareth Collins
>            Priority: Minor
>         Attachments: KARAF-1796.txt
> This issue is discussed in this thread:
> http://karaf.922171.n3.nabble.com/More-Questions-Mostly-On-Features-td4025892.html
> Currently the karaf feature feature installs bundles in this sequence - Install/Start/Install/Start/Install/Start.
The problem with this sequence is that if the following bundles are installed late:
> + bundles which are optional imports of other bundles and/or
> + bundle fragments 
> some bundles may not resolve with their optional imports and fragments.
> The solution is to install bundles in the following sequence - Install/Install/Install/Install...Start/Start/Start/Start.
In that way all bundles are installed before any bundles are started and thus all optional
imports and fragments should get resolved.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message