-
Bug
-
Resolution: Done
-
Major
-
JBoss A-MQ 6.2.1
-
None
A FSW application running on JBoss EAP 6.4.0 shows the following deadlock in the ActiveMQ RAR when producing messages to the broker under load.
"ActiveMQ Session Task-1550" - Thread t@251233 java.lang.Thread.State: BLOCKED at org.apache.activemq.TransactionContext.isInXATransaction(TransactionContext.java:102) - waiting to lock <39d3bfef> (a java.util.HashMap) owned by "Camel (camel-15) thread #9099 - JmsConsumer[MessageLogQueue]" t@251013 at org.apache.activemq.ra.ManagedTransactionContext.isInXATransaction(ManagedTransactionContext.java:122) at org.apache.activemq.ActiveMQSession.isTransacted(ActiveMQSession.java:1998) at org.apache.activemq.ActiveMQMessageConsumer.redeliveryExpectedInCurrentTransaction(ActiveMQMessageConsumer.java:1462) at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1432) - locked <7cde0191> (a java.lang.Object) at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:131) at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:202) at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:133) at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48) 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:745) "Camel (camel-15) thread #9099 - JmsConsumer[MessageLogQueue]" - Thread t@251013 java.lang.Thread.State: BLOCKED at org.apache.activemq.FifoMessageDispatchChannel.close(FifoMessageDispatchChannel.java:133) - waiting to lock <7cde0191> (a java.lang.Object) owned by "ActiveMQ Session Task-1550" t@251233 at org.apache.activemq.ActiveMQMessageConsumer.dispose(ActiveMQMessageConsumer.java:855) at org.apache.activemq.ActiveMQMessageConsumer.doClose(ActiveMQMessageConsumer.java:725) at org.apache.activemq.ActiveMQMessageConsumer$3.afterCommit(ActiveMQMessageConsumer.java:707) at org.apache.activemq.TransactionContext.afterCommit(TransactionContext.java:190) at org.apache.activemq.TransactionContext.commit(TransactionContext.java:596) - locked <39d3bfef> (a java.util.HashMap) [...]