activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jess (JIRA)" <>
Subject [jira] [Commented] (AMQ-3421) Deadlock when queue fills up
Date Thu, 08 Sep 2011 01:04:08 GMT


Jess commented on AMQ-3421:

Actually, the NPE stacktrace is a bit different:

        at org.apache.activemq.command.ProducerInfo.visit(
        at org.apache.activemq.transport.TransportFilter.onCommand(
        at org.apache.activemq.transport.WireFormatNegotiator.onCommand(
        at org.apache.activemq.transport.InactivityMonitor.onCommand(
        at org.apache.activemq.transport.TransportSupport.doConsume(
        at org.apache.activemq.transport.tcp.TcpTransport.doRun(

> Deadlock when queue fills up
> ----------------------------
>                 Key: AMQ-3421
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.5.0
>         Environment: Tomcat 6.0.29, Spring 3.0.5, Oracle Java 6, Centos 5
>            Reporter: Robert Elliot
>            Priority: Critical
>         Attachments: JStack Output.rtf, jmsMessageQueues.xml
> We are running a queue to do asynch audit updates, configured via Spring 3.0.5.
> When the queue fills up Tomcat locks up with all catalina threads waiting on an object
monitor in Spring.  This object monitor is held by the "ActiveMQ Connection Executor: vm://localhost#2986"
thread which is itself blocked for ever awaiting the stopped CountDownLatch at TransportConnection.stop(
> There are no "ActiveMQ Task" threads running, which suggests that either the task created
by stopAsync has completed or did not run.
> A code review leaves us baffled as to how this latch cannot have counted down, but it
hasn't.  Could Tomcat possibly be silently discarding the thread that was meant to do the
stop without throwing an exception?! It seems unlikely but (as I understand it) TaskRunnerFactory
is breaking the Servlet spec by running up its own Threads.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message