You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2012/10/31 15:13:12 UTC

[jira] [Commented] (AMQ-4074) Hanging close thread

    [ https://issues.apache.org/jira/browse/AMQ-4074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487802#comment-13487802 ] 

Timothy Bish commented on AMQ-4074:
-----------------------------------

Is this occurring with a STOMP client on that transport?  There were a number of fixes in this area for the 5.6.0 release which I believe resolved any possibly deadlocks on connection stop.  Recommend you move to v5.6.0
                
> Hanging close thread 
> ---------------------
>
>                 Key: AMQ-4074
>                 URL: https://issues.apache.org/jira/browse/AMQ-4074
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Transport
>    Affects Versions: 5.5.1
>            Reporter: Johan Charles Wheeler
>         Attachments: activemq.log, activemq.log.1, connection_is_taking_long_time_to_shutdown-AMQ_stack.txt
>
>
> A stale connection does not seem to get closed
> {code}
> java.lang.Thread.State: TIMED_WAITING (parking)
>         at sun.misc.Unsafe.park(Native Method)
>         - parking to wait for  <0xe5aea538> (a java.util.concurrent.CountDownLatch$Sync)
>         at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)
>         at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1033)
>         at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1326)
>         at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:282)
>         at org.apache.activemq.broker.TransportConnection.stop(TransportConnection.java:930)
>         at org.apache.activemq.broker.TransportConnection.processAddConnection(TransportConnection.java:661)
>         - locked <0xe5b0e6f0> (a java.lang.Object)
>         at org.apache.activemq.broker.jmx.ManagedTransportConnection.processAddConnection(ManagedTransportConnection.java:83)
>         at org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:137)
>         at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:306)
>         at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179)
>         at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:69)
>         at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113)
>         at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:227)
>         - locked <0xe9f19eb8> (a org.apache.activemq.transport.InactivityMonitor$1)
>         at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
>         at org.apache.activemq.transport.tcp.SslTransport.doConsume(SslTransport.java:91)
>         at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:220)
>         at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:202)
>         at java.lang.Thread.run(Thread.java:722)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira