[ https://issues.apache.org/jira/browse/ARTEMIS-1949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Bertram resolved ARTEMIS-1949. ------------------------------------- Resolution: Fixed Fix Version/s: 2.7.0 > fix IllegalMonitorStateException during shutdown > ------------------------------------------------ > > Key: ARTEMIS-1949 > URL: https://issues.apache.org/jira/browse/ARTEMIS-1949 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: Broker > Reporter: yangwei > Priority: Minor > Fix For: 2.7.0 > > > During server shutdown, the exception occurs as follows: > 2018-06-19 16:23:03,503 WARN [org.apache.activemq.artemis.core.client] > AMQ212063: Unable to handle connection failure : > java.lang.IllegalMonitorStateException > at > java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:151) > [rt.jar:1.8.0_92] > at > java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1261) > [rt.jar:1.8.0_92] > at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:457) > [rt.jar:1.8.0_92] > at > org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQClientProtocolManager.cleanupBeforeFailover(ActiveMQClientProtocolManager.java:373) > [artemis-core-client-2.4.0.jar:2.4.0] > at > org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.failoverOrReconnect(ClientSessionFactoryImpl.java:588) > [artemis-core-client-2.4.0.jar:2.4.0] > at > org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.handleConnectionFailure(ClientSessionFactoryImpl.java:504) > [artemis-core-client-2.4.0.jar:2.4.0] > at > org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.handleConnectionFailure(ClientSessionFactoryImpl.java:497) > [artemis-core-client-2.4.0.jar:2.4.0] > at > org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.access$100(ClientSessionFactoryImpl.java:72) > [artemis-core-client-2.4.0.jar:2.4.0] > at > org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$1.run(ClientSessionFactoryImpl.java:360) > [artemis-core-client-2.4.0.jar:2.4.0] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42) > [artemis-commons-2.4.0.jar:2.4.0] > at > org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31) > [artemis-commons-2.4.0.jar:2.4.0] > at > org.apache.activemq.artemis.utils.actors.ProcessorBase$ExecutorTask.run(ProcessorBase.java:53) > [artemis-commons-2.4.0.jar:2.4.0] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > [rt.jar:1.8.0_92] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > [rt.jar:1.8.0_92] > at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_92] > To fix this, we return null if clientProtocolManager is not alive in > lockSessionCreation(). -- This message was sent by Atlassian JIRA (v7.6.3#76005)