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

Ulhas Bhole resolved SM-1821.
-----------------------------

    Resolution: Fixed

> ESB hangs on exit when destroyApplicationContextOnShutdown is set to true and 
> the broker's persistent storage fails
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1821
>                 URL: https://issues.apache.org/activemq/browse/SM-1821
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-core
>    Affects Versions: 3.2.3
>         Environment: Tested on Linux, Java 1.6.0_0-b11
>            Reporter: Stan Lewis
>            Assignee: Ulhas Bhole
>         Attachments: activemq.xml, patch.diff, servicemix.xml
>
>
> When you configure activemq to use a JDBC persistent store such as mysql and 
> bounce or shut down the database servicemix will hang before exiting if you 
> have systemExitOnShutdown set to false and have 
> destroyApplicationContextOnShutdown set to true.  While you can set 
> systemExitOnShutdown to true to get around this problem, this work around 
> cannot be used when servicemix is embedded in a container such as tomcat or 
> jboss, as the call to system.exit() would bring down the whole application 
> server.
> This issue appears to have been introduced post 3.2.3.  I'll attach the 
> configuration used to reproduce this issue, along with a patch that fixes 
> this test case.
> To reproduce the issue just use my configuration, start up servicemix and 
> then bounce the database.  Without the patch in place servicemix won't exit 
> properly.

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

Reply via email to