[ 
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)

Reply via email to