Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2556

Installer should detect if installer bundle is refreshed by another bundle update

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Installer Core 3.3.8
    • None
    • None

    Description

      If e.g. the logging bundle is updated through the OSGi installer, this causes the logging bundle to be refreshed which in turn causes the OSGi installer to be restarted.
      However as the OSGi installer is not aware of this fact, it is waiting for a package refresh event, and is holding references in an async thread. This is turn sometimes causes the bundle stop/start of the installer bundle to fail.

      Therefore the OSGi installer should detect this situation and stop itself - the same as it already does for updating itself.
      With the R4.3 wiring api, this is easily to detect; without it, it gets harder - we should have an implementation which detects whether R4.3 is available and uses this functionality. If its not available it should use a fallback

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: