activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject ActiveMQ 4.1.1 client hangs on issuing a burst of messages
Date Thu, 15 Jan 2009 06:19:57 GMT

Env: ActiveMQ 4.1.1,   Spring 2.5.4,  JDK1.6

I have a number of clients (about 9) connecting to an external broker using
TCP transport. When one of the clients sends a volley of messages, the
activemq connection seems to deadlock - I say *seems* to because I see no deadlocks
in the full thread dump of the VM.

This issue seems similar to
with the exception that no deadlock is apparent in the stack trace. 
The client applications hangs forever.

Is this a known issue? How do I remedy this problem?

I am also curious that while I have configured no failover, the
stack trace below seems to entail FailoverTransport.

Any help appreciated!

Rgds,  /Um

"ActiveMQ Task" daemon prio=10 tid=0x09d49c00 nid=0x665b waiting for monitor entry [0x18ead000..0x18eae0a0]
   java.lang.Thread.State: BLOCKED (on object monitor)
        at org.apache.activemq.transport.failover.FailoverTransport$2.iterate(
        - waiting to lock <0x3aa37070> (a java.lang.Object)
        at org.apache.activemq.thread.PooledTaskRunner.runTask(
        at org.apache.activemq.thread.PooledTaskRunner.access$100(
        at org.apache.activemq.thread.PooledTaskRunner$

"Thread-164" daemon prio=10 tid=0x09166c00 nid=0x6646 runnable [0x1feba000..0x1febb120]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Throwable.fillInStackTrace(Native Method)
        - waiting to lock <0xa396cd88> (a java.lang.InterruptedException)
        at java.lang.Throwable.<init>(
        at java.lang.Exception.<init>(
        at java.lang.InterruptedException.<init>(
        at java.lang.Object.wait(Native Method)
        at org.apache.activemq.transport.failover.FailoverTransport.oneway(
        - locked <0x3aa37070> (a java.lang.Object)
        at org.apache.activemq.transport.MutexTransport.oneway(
        - locked <0x3aa3d010> (a java.lang.Object)
        at org.apache.activemq.transport.ResponseCorrelator.asyncRequest(
        at org.apache.activemq.transport.ResponseCorrelator.request(
        at org.apache.activemq.ActiveMQConnection.syncSendPacket(
        at org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(
        - locked <0x3aa3d018> (a org.apache.activemq.ActiveMQConnection)
        at org.apache.activemq.ActiveMQConnection.createSession(
        at org.springframework.jms.core.JmsTemplate.execute(
        at org.springframework.jms.core.JmsTemplate.send(

View raw message