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

SynchronousRefreshPackagesTask may miss PACKAGES_REFRESHED event

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • Installer Core 3.0.0
    • Installer
    • None

    Description

      From time to time I see a timeout warning logged by the SynchronousRefreshPackagesTask in my system, triggered by a bundle update in the repository. In most cases the event is received within a reasonably time frame, but in some cases the event is not received and the time limit of 30 seconds is reached.

      When an update works fine, the log messages are something like (debug enabled for osgi installer):

      DEBUG [FelixDispatchQueue] org.apache.sling.osgi.installer FrameworkEvent.PACKAGES_REFRESHED
      INFO [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent PACKAGES REFRESHED

      But when it doesn't, then there is only the info message.

      Attachments

        1. SLING-1305.patch
          1 kB
          Marcel Reutegger

        Activity

          People

            bdelacretaz Bertrand Delacretaz
            mreutegg Marcel Reutegger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: