[ 
https://issues.apache.org/jira/browse/AMQ-6065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15031723#comment-15031723
 ] 

Gary Tully commented on AMQ-6065:
---------------------------------

[~cshannon] I just peeked at that dependency - the license is not 100% 
compatible with ASF without some additional documentation[1] etc, I don't think 
we need to go there. I will revert the change and fix the test. 
btw: that security manager hack is in use at 
https://github.com/apache/activemq/blob/d6682e5476cd8cbefca04227ffa26a5d508d2494/activemq-unit-tests/src/test/java/org/apache/activemq/security/AbstractCachedLDAPAuthorizationMapLegacyTest.java#L405

[1] http://www.apache.org/legal/resolved.html

> Allow selective use of broker systemExitOnShutdown from 
> DefaultIOExceptionHandler
> ---------------------------------------------------------------------------------
>
>                 Key: AMQ-6065
>                 URL: https://issues.apache.org/jira/browse/AMQ-6065
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker, Message Store
>    Affects Versions: 5.12.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>             Fix For: 5.13.0
>
>
> the broker attribute systemExitOnShutdown is useful in a karaf container or 
> shared vm where the broker is the primary occupant. If the broker dies, then 
> the container should die.
> For the broker, if the store dies, then the broker should die, but for other 
> scenarios, like the broker is shutdown via jmx or for maintenance, exiting 
> the container is not required.
> Allowing the DefaultIOExceptionHandler, which gets to handle store 
> exceptions, flip the systemExit bit allows a container to exit on this fatal 
> condition. Ensuring that failover of the store can occur due the the exit of 
> the jvm that has the store lock.
> With karaf on windows, the file locker is not reliable on failback when the 
> jvm remains active.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to