Uploaded image for project: 'FUSE Message Broker'
  1. FUSE Message Broker
  2. MB-1119

Occasional hangs on ensureConnectionInfoSent

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.5.1-fuse-01-13
    • Fix Version/s: 5.5.1-fuse-04-01
    • Component/s: None
    • Labels:
      None
    • Similar Issues:
      Show 9 results 

      Description

      Occasionally, it has been reported that the client connections hang and never get a response from the broker.

      The following stack trace has been provided:

      "main" prio=3 tid=0x0264c800 nid=0x7c waiting on condition [0x38cff000]
         java.lang.Thread.State: WAITING (parking)
      	at sun.misc.Unsafe.park(Native Method)
      	- parking to wait for  <0x8fb5a1b8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
      	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
      	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
      	at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:317)
      	at org.apache.activemq.transport.FutureResponse.getResult(FutureResponse.java:40)
      	at org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:87)
      	at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1286)
      	at org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1394)
      	- locked <0x8fafdd10> (a java.lang.Object)
      	at org.apache.activemq.ActiveMQConnection.start(ActiveMQConnection.java:506)
      	at org.apache.activemq.pool.ConnectionPool.start(ConnectionPool.java:91)
      	at org.apache.activemq.pool.PooledConnection.start(PooledConnection.java:78)
      	at org.springframework.jms.listener.AbstractJmsListeningContainer.refreshSharedConnection(AbstractJmsListeningContainer.java:390)
      	- locked <0x748e2a80> (a java.lang.Object)
      	at org.springframework.jms.listener.DefaultMessageListenerContainer.refreshConnectionUntilSuccessful(DefaultMessageListenerContainer.java:856)
      	at org.springframework.jms.listener.DefaultMessageListenerContainer.recoverAfterListenerSetupFailure(DefaultMessageListenerContainer.java:838)
      	at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:969)
      	- locked <0x748e2d58> (a java.lang.Object)
      	at java.lang.Thread.run(Thread.java:619)

      Apache has a Jira open for this same issue: https://issues.apache.org/jira/browse/AMQ-2798
      This is possibly also related to https://issues.apache.org/jira/browse/AMQ-3719

        Gliffy Diagrams

          Activity

          Hide
          jsherman Jason Sherman added a comment -

          Though in most cases the above stack trace would be normal as the client is awaiting a response from the broker, in this case it seems the response is never received.

          Show
          jsherman Jason Sherman added a comment - Though in most cases the above stack trace would be normal as the client is awaiting a response from the broker, in this case it seems the response is never received.
          Hide
          tabish121 Timothy Bish added a comment -

          Merged fix for https://issues.apache.org/jira/browse/AMQ-3719 into 5.5.x-fuse and 5.5.1-fuse

          Show
          tabish121 Timothy Bish added a comment - Merged fix for https://issues.apache.org/jira/browse/AMQ-3719 into 5.5.x-fuse and 5.5.1-fuse

            People

            • Assignee:
              tabish121 Timothy Bish
              Reporter:
              jsherman Jason Sherman
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: