Deadlock in JBoss Deployer during shutdown
------------------------------------------

                 Key: SM-743
                 URL: https://issues.apache.org/activemq/browse/SM-743
             Project: ServiceMix
          Issue Type: Bug
    Affects Versions: 3.0
         Environment: JBoss 4.0.4.GA, SM 3.x (all versions affected)
            Reporter: Frank Trietsch
             Fix For: 3.0


The JBIContainer contains a ShutdownHook which shuts all components down during 
shutdown of the VM. The JBoss Deployer's is also called during the shutdown and 
tries to shut down the components too. This frequently causes deadlock 
situations.

This can be fixed, by disabling the ShutdownHook of servicemix inside the JBoss 
Deployer:

JBIService.java:
Add 
        jbiContainer.setUseShutdownHook(false);
in method startService() after the JBIContainer is created.

Regards,

    Frank

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to