Martin Lichtin created AMQ-7155:
-----------------------------------

             Summary: Don't emit 'no longer able to keep the exclusive lock' 
error on regular shutdown
                 Key: AMQ-7155
                 URL: https://issues.apache.org/jira/browse/AMQ-7155
             Project: ActiveMQ
          Issue Type: Improvement
            Reporter: Martin Lichtin


It's a regular shutdown, so no need for classifying this as an error. Guess 
could just be info.
{noformat}
2019-02-21T12:52:00,000 | INFO  | Broker Starting Thread   | TransportConnector 
              | tivemq.broker.TransportConnector  263 | 73 - 
org.apache.activemq.activemq-osgi - 5.15.6 | Connector openwire started
2019-02-21T12:52:00,000 | INFO  | Broker Starting Thread   | BrokerService      
              | he.activemq.broker.BrokerService  773 | 73 - 
org.apache.activemq.activemq-osgi - 5.15.6 | Apache ActiveMQ 5.15.6 (broker, 
amq2) started
2019-02-21T12:52:00,000 | INFO  | Broker Starting Thread   | BrokerService      
              | he.activemq.broker.BrokerService  774 | 73 - 
org.apache.activemq.activemq-osgi - 5.15.6 | For help or more information 
please see: http://activemq.apache.org
2019-02-24T20:43:28,638 | ERROR | eMQ Lock KeepAlive Timer | 
LockableServiceSupport           | mq.broker.LockableServiceSupport  143 | 73 - 
org.apache.activemq.activemq-osgi - 5.15.6 | broker, no longer able to keep the 
exclusive lock so giving up being a master
2019-02-24T20:43:28,647 | INFO  | eMQ Lock KeepAlive Timer | BrokerService      
              | he.activemq.broker.BrokerService  836 | 73 - 
org.apache.activemq.activemq-osgi - 5.15.6 | Apache ActiveMQ 5.15.6 (broker, 
amq2) is shutting down
2019-02-24T20:43:28,653 | INFO  | t.maxFrameSize=104857600 | TcpTransportServer 
              | ansport.tcp.TcpTransportServer$1  511 | 73 - 
org.apache.activemq.activemq-osgi - 5.15.6 | socketQueue interrupted - stopping
2019-02-24T20:43:28,654 | INFO  | t.maxFrameSize=104857600 | TransportConnector 
              | vemq.broker.TransportConnector$1  243 | 73 - 
org.apache.activemq.activemq-osgi - 5.15.6 | Could not accept connection during 
shutdown  : {}
java.lang.InterruptedException: null
        at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2014)
 [?:?]
        at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2088)
 [?:?]
        at 
java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:467) 
[?:?]
        at 
org.apache.activemq.transport.tcp.TcpTransportServer$1.run(TcpTransportServer.java:494)
 [73:org.apache.activemq.activemq-osgi:5.15.6]
        at java.lang.Thread.run(Thread.java:748) [?:?]
2019-02-24T20:43:28,693 | INFO  | eMQ Lock KeepAlive Timer | TransportConnector 
              | tivemq.broker.TransportConnector  294 | 73 - 
org.apache.activemq.activemq-osgi - 5.15.6 | Connector openwire stopped
{noformat}





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to