activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlittman <jlitt...@google.com>
Subject Apparent activemq deadlock
Date Tue, 17 Oct 2006 02:18:19 GMT

We are using jencks and spring with activemq 4.01.

Our server handles multiple queues. Sometimes the server stops servicing one
of the queues, while other queues are still active. Using jconsole, you can
see that the enqueue for the problem queue climbs but the dequeue number
stays the same. I captured this situation, and using jconsole, we found 18
threads appeared blocked with the following stack trace:

Name: Thread-9830
State: WAITING on
edu.emory.mathcs.backport.java.util.concurrent.locks.CondVar@1e625cb
Total blocked: 0  Total waited: 1

Stack trace: 
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Unknown Source)
edu.emory.mathcs.backport.java.util.concurrent.locks.CondVar.await(CondVar.java:75)
edu.emory.mathcs.backport.java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:318)
org.apache.activemq.transport.FutureResponse.getResult(FutureResponse.java:41)
org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:72)
org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1137)
org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1548)
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:462)
org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:415)
org.apache.activemq.ra.InboundMessageProducerProxy.send(InboundMessageProducerProxy.java:104)
org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:522)
org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:504)
org.springframework.jms.core.JmsTemplate$2.doInJms(JmsTemplate.java:479)
org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:432)
org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:477)
com.testapp.messaging.controller.MessageController.onMessage(AbstractMessageController.java:73)
org.jencks.TargetSourceMessageListener.onMessage(TargetSourceMessageListener.java:44)
org.jencks.SimpleEndpoint.onMessage(SimpleEndpoint.java:50)
org.apache.activemq.ra.MessageEndpointProxy$MessageEndpointAlive.onMessage(MessageEndpointProxy.java:120)
org.apache.activemq.ra.MessageEndpointProxy.onMessage(MessageEndpointProxy.java:60)
org.apache.activemq.ActiveMQSession.run(ActiveMQSession.java:690)
org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:164)
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:291)
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

-- 
View this message in context: http://www.nabble.com/Apparent-activemq-deadlock-tf2456680.html#a6847256
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message