You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by khandelwalanuj <kh...@gmail.com> on 2013/12/24 07:12:12 UTC

InterruptedException with ActiveMQ broker

Hi,

I am seeing this exception  (stack trace below). Curious what might be
causing the interruption, and what this error means ? 


Stack Trace:
-------------------------------------------------------------------------
[ 2013-12-24 04:01:21,157 [InactivityMonitor Async Task:
java.util.concurrent.ThreadPoolExecutor$Worker@1820a47f[State = -1, empty
queue]] util.ServiceStopper.logError():96  ERROR]: Could not stop service:
tcp://mybrokerprod/IP_address:61616. Reason: java.lang.InterruptedException
java.lang.InterruptedException
	at
java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1325)
	at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:282)
	at
org.apache.activemq.transport.tcp.TcpTransport.doStop(TcpTransport.java:532)
	at org.apache.activemq.util.ServiceSupport.stop(ServiceSupport.java:69)
	at
org.apache.activemq.transport.tcp.TcpTransport.stop(TcpTransport.java:549)
	at
org.apache.activemq.transport.InactivityMonitor.stop(InactivityMonitor.java:132)
	at
org.apache.activemq.transport.TransportFilter.stop(TransportFilter.java:65)
	at
org.apache.activemq.transport.WireFormatNegotiator.stop(WireFormatNegotiator.java:91)
	at org.apache.activemq.util.ServiceSupport.dispose(ServiceSupport.java:43)
	at
org.apache.activemq.transport.failover.FailoverTransport.disposeTransport(FailoverTransport.java:210)
	at
org.apache.activemq.transport.failover.FailoverTransport.handleTransportFailure(FailoverTransport.java:226)
	at
org.apache.activemq.transport.failover.FailoverTransport$3.onException(FailoverTransport.java:187)
	at
org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:101)
	at
org.apache.activemq.transport.WireFormatNegotiator.onException(WireFormatNegotiator.java:160)
	at
org.apache.activemq.transport.InactivityMonitor.onException(InactivityMonitor.java:265)
	at
org.apache.activemq.transport.InactivityMonitor$4.run(InactivityMonitor.java:185)
	at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:724)

--------------------------------------------------------------------------------


In addition to this:
Are there any heartbeat does ActiveMQ  have ? If a connection remains idle
for some time, will Inactivity monitor get triggered ?

Thanks,
Anuj






--
View this message in context: http://activemq.2283324.n4.nabble.com/InterruptedException-with-ActiveMQ-broker-tp4675845.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: InterruptedException with ActiveMQ broker

Posted by xabhi <xa...@gmail.com>.
I think similar issue is discussed here:
http://activemq.2283324.n4.nabble.com/InterruptedException-with-embedded-5-5-0-broker-td3487950.html#a4675846

But on that thread also no clear reply from vendors.

Please help us.

Thanks,
Abhi



--
View this message in context: http://activemq.2283324.n4.nabble.com/InterruptedException-with-ActiveMQ-broker-tp4675845p4675853.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.