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

Fileinstall polls too early on clean start

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.4
    • 4.1.0, 4.0.8
    • None
    • None
    • Windows 7

    Description

      In the deploy folder is a bundle with a Spring driven Camel route. As boot features "camel-spring" and "spring-dm" are given.

      On a clean Karaf start in nearly 9 out of 10 times the CamelContext is started, but the "context-list" command output is empty, the Camel route itself however is started and running correctly.

      Is looks like fileinstall does not regard the property "felix.fileinstall.active.level=80" and polls too early, so likely some BundleListeners like the one which registers the CamelContext for the "context-list" command are not available yet.

      A real hot deploy at runtime works all time, the context appears correctly.

      In Karaf 2 and 3 this issue did not appear.

      Attached to this issue is a setup with the hot deploy folder and a customized features.cfg. Simple extract into a vanilla Karaf 4.0.4. Because it is a timing problem and it could be not reproducible, on demand I can also attach a screencast which shows the bug on my system.

      Attachments

        1. bug-screencast.mp4
          3.78 MB
          Volker Althaus
        2. bug-setup.zip
          3 kB
          Volker Althaus

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              valthaus Volker Althaus
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: