Deepak created CAMEL-20657:
------------------------------

             Summary: Dead observed while redeploying camel bundle in osgi 
container
                 Key: CAMEL-20657
                 URL: https://issues.apache.org/jira/browse/CAMEL-20657
             Project: Camel
          Issue Type: Bug
          Components: came-core
    Affects Versions: 3.14.7
            Reporter: Deepak
         Attachments: Thread Dump stack trace.txt

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 previous version of the same bundle.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to