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

DirectoryWatcher should not refresh transformed bundles on every start-up

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • fileinstall-3.2.4
    • fileinstall-3.4.0
    • File Install
    • None
    • ServiceMix 4.5.3

    Description

      DirectoryWatcher can auto-deploy JAR or XML files placed in a directory.
      Blueprint XML files (containing for instance ActiveMQ factories or JAAS realms) are detected as "installed" on every start-up. Prior to FELIX-2066, this had no effect. Since FELIX-2066, bundles detected as "installed" are now forcibly "refreshed" on every start-up. The impact is that these bundles are stopped and restarted during the container start-up. Because there are some race conditions (see FELIX-3067), this can prevent those XML files or other bundles depending on them from fully starting. Here is a patch which avoids restarting those bundles when they were not modified.

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              metatech metatech
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: