[jboss-jira] [JBoss JIRA] (JBAS-9486) Custom thread pools prevent proper shutdown on CTRL-C

Bela Ban (JIRA) jira-events at lists.jboss.org
Thu May 31 03:05:17 EDT 2012


    [ https://issues.jboss.org/browse/JBAS-9486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697380#comment-12697380 ] 

Bela Ban commented on JBAS-9486:
--------------------------------

This also leads to all sorts of issues with JDG:
#1 Shutdown is delayed by ~ 20 secs (TimeSchedulerAdapter is the main culprit)
#2 Restart of nodes leads to the cluster not forming

Removing the 3 thread pools in <transport .../> solves the problem.
                
> Custom thread pools prevent proper shutdown on CTRL-C
> -----------------------------------------------------
>
>                 Key: JBAS-9486
>                 URL: https://issues.jboss.org/browse/JBAS-9486
>             Project: Application Server 3  4  5 and 6
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Clustering
>            Reporter: Bela Ban
>            Assignee: Paul Ferraro
>         Attachments: dump.log, standalone-ha.xml, web.war
>
>
> When we define custom thread pool (see in standalone-ha.xml) and use them in (1) the JGroups transport and (2) the AJP connector, CTRL-C hangs. The hang is caused by a shutdown hook waiting on threads which will never terminate (see attached stack trace in dump.log).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list