[ 
https://issues.apache.org/jira/browse/AMQ-2662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Tully resolved AMQ-2662.
-----------------------------

    Resolution: Fixed

patch applied with thanks.

> ActiveMQEndpointWorker.stop() sometimes is needing many minutes to shutdown
> ---------------------------------------------------------------------------
>
>                 Key: AMQ-2662
>                 URL: https://issues.apache.org/jira/browse/AMQ-2662
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JCA Container
>    Affects Versions: 5.3.0
>         Environment: irrelevant
>            Reporter: Jörg Waßmer
>            Assignee: Gary Tully
>             Fix For: 5.5.0
>
>         Attachments: ActiveMQEndpointWorker.diff
>
>
> On shutdowns the threads occasionally are waiting for a long time in 
> ActiveMQEndpointWorker.stop() on the field 
> ActiveMQEndpointWorker.shutdownMutex. The cause is that shutdownMutex is a 
> string constant (initialization line is shutdownMutex = "shutdownMutex"), 
> effectively making it a global lock.
> The hangs are happening especially on servers with high traffic.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to