Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20657

Dead observed while redeploying camel bundle in osgi container

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 3.14.7
    • None
    • came-core
    • None
    • Unknown

    Description

      We use camel 3.14.7 for our integration scenarios. the integration scenarios are deployed in karaf osgi container.

      we recently moved from camel 2x to 3x and we observed that if we try to redeploy the integration bundle that is already deployed in osgi container. osgi container first undeploys the existing bundle and redeploys the bundle again with changes.

      when osgi undeploys the bundle camel tries to stop all the service associated with the bundle that is being undeployed, and we observed that the stop activity is not getting completed and the other threads that are waiting for this undeploy to complete is stuck for ever and goes to deadlock state.

      I have added the 2 threads stacktrace from the thread dump.
      one thread waiting for a lock to deploy a new bundle. while the other thread has acquired the lock to undeploy the bundle.

      Attachments

        Activity

          People

            Unassigned Unassigned
            deepaktaker Deepak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: