Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-4740

Bundles don't start if no BundleEvent fired after reaching start level

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • fileinstall-3.4.2
    • fileinstall-3.6.4
    • File Install
    • None
    • Mac OS X 10.10, Apache Karaf 3.0.2

    Description

      In working with FileInstall, I've discovered an odd condition under which bundles installed by FileInstall will never be started, even though their start level is reached. This seems to happen most frequently when the active level is set to a value less than the start level.

      In that case, the initial scan will install bundles in the deploy directory, but not start them. That is expected. However, once the required start level is reached, the installed bundles are only started if a BundleEvent is fired after the start level change. Otherwise, the stateChanged flag in FileInstall will not be set, and we will never start the installed bundles.

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            thully Tim Hull
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: