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

Karaf feature deployer should stop refreshed bundles together with the updated ones

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0.10, 4.1.3, 4.2.0.M1
    • Fix Version/s: 4.1.4, 4.2.0.M2
    • Component/s: karaf
    • Labels:
      None

      Description

      I had a case when features service was provisioned and there were two wired bundles:

      • bundle A which was updated
      • bundle B which had camel context defined in blueprint, depending on OSGi service from bundle A.

      Stopping bundle with Camel context defined in blueprint, requires access to all <reference>-d services, otherwise blueprint proxies may wait for specific timeout for the services. Having proper start levels set, everything works fine.

      But when during deployment, bundle A was updated, it was stopped first. Then, bundle A and B were properly stopped during refresh, but bundle A was already stopped (and updated). bundle B hanged during stop.

        Attachments

          Activity

            People

            • Assignee:
              gzres Grzegorz Grzybek
              Reporter:
              gzres Grzegorz Grzybek
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: