activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dejan Bosanac (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AMQ-2486) systemExitOnShutdown="true" causes broker shutdown to hang
Date Thu, 12 Nov 2009 11:37:53 GMT

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

Dejan Bosanac resolved AMQ-2486.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 5.4.0
                   5.3.1

Using Runtime.getRuntime().halt() instead of System.exit() as the later is not recommended
to be used in shutdown hooks. There should be no problems with halt() as all resources are
cleaned up before this call.

> systemExitOnShutdown="true" causes broker shutdown to hang
> ----------------------------------------------------------
>
>                 Key: AMQ-2486
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2486
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.3.0
>            Reporter: Dejan Bosanac
>            Assignee: Dejan Bosanac
>             Fix For: 5.3.1, 5.4.0
>
>
> To reproduce:
> * add systemExitOnShutdown="true" to the <broker> tag
> * start a broker
> * try to stop the broker

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message