Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4139

Bundles with activation policy lazy remain in status starting when run with equinox

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.3
    • Fix Version/s: 4.0.4
    • Component/s: karaf
    • Labels:
      None

      Description

      If a feature contains bundles with

       Bundle-ActivationPolicy = lazy

      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

      // Compute bundles to start
      removeFragmentsAndBundlesInState(toStart, UNINSTALLED | ACTIVE | STARTING);
      

      The problem is solved when removing | STARTING.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chris@die-schneider.net Christian Schneider
                Reporter:
                chris@die-schneider.net Christian Schneider
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: