You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2015/11/23 15:40:10 UTC

[jira] [Updated] (KARAF-4139) Bundles with activation policy lazy remain in status starting when run with equinox

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

Christian Schneider updated KARAF-4139:
---------------------------------------
    Description: 
If a feature contains bundles with {code} Bundle-ActivationPolicy = lazy{code} then these bundles remain in state Starting when run with equinox.

In felix these bundles are going to state Active without any problems.

The problem seems to be this line in Deployer.java
{code}
// Compute bundles to start
removeFragmentsAndBundlesInState(toStart, UNINSTALLED | ACTIVE | STARTING);
{code}

The problem is solved when removing | STARTING.


  was:
If a feature contains bundles with {code} Bundle-ActivationPolicy = lazy{code} then these bundles remain in state Starting when run with equinox.

In felix these bundles are going to state Active without any problems.

The problem seems to be this line in Deployer.java
{code}
        // Compute bundles to start
        removeFragmentsAndBundlesInState(toStart, UNINSTALLED | ACTIVE | STARTING);
{code}

The problem is solved when removing | STARTING.



> Bundles with activation policy lazy remain in status starting when run with equinox
> -----------------------------------------------------------------------------------
>
>                 Key: KARAF-4139
>                 URL: https://issues.apache.org/jira/browse/KARAF-4139
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 4.0.3
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: 4.0.4
>
>
> If a feature contains bundles with {code} Bundle-ActivationPolicy = lazy{code} then these bundles remain in state Starting when run with equinox.
> In felix these bundles are going to state Active without any problems.
> The problem seems to be this line in Deployer.java
> {code}
> // Compute bundles to start
> removeFragmentsAndBundlesInState(toStart, UNINSTALLED | ACTIVE | STARTING);
> {code}
> The problem is solved when removing | STARTING.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)