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

Bundles in deploy are deployed before startup process had been finished

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.7
    • Fix Version/s: 2.3.2, 2.4.0, 3.0.0
    • Component/s: karaf-core
    • Labels:
      None

      Description

      I'm not sure, but I assume that this also affects the master. This needs to be evaluated after a fix had been crafted.

      To reproduce the issue download and unpack karaf-2.2.7; then add the attached jar to the deploy folder (which is basically [1] packed with tinybundles). Now, BEFORE starting karaf, edit etc/org.apache.karaf.features.cfg and add "war" to the bootFeatures. Now start Karaf. you see that the deploy folder bundle had been deployed BEFORE the war feature had been started. Therefore the bundle is missing some packages and is not refreshed as the new feature is available. When you refresh the bundle now manually it works.

      [1] https://github.com/openengsb/labs-paxexam-karaf/tree/master/regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/supports

        Attachments

          Activity

            People

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              pieber Andreas Pieber
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: