You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Frank Trietsch (JIRA)" <ji...@apache.org> on 2006/11/09 22:05:02 UTC

[jira] Created: (SM-743) Deadlock in JBoss Deployer during shutdown

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

        

[jira] Resolved: (SM-743) Deadlock in JBoss Deployer during shutdown

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-743?page=all ]

Guillaume Nodet resolved SM-743.
--------------------------------

    Fix Version/s: 3.1
       Resolution: Fixed
         Assignee: Guillaume Nodet

Fixed, thx !

> 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
>         Assigned To: Guillaume Nodet
>             Fix For: 3.1, 3.0
>
>   Original Estimate: 30 minutes
>  Remaining Estimate: 30 minutes
>
> 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