activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From IBeaumont <ibeaum...@cdcsoftware.com>
Subject ActiveMQ connections hangs sometimes when calling start on a connection
Date Wed, 15 Jun 2011 15:51:20 GMT
Any ideas why every now and then, when my code creates a connection and calls
start on that connection, the call never returns.  
Here is a dump of the thread that is hanging...

State: WAITING on
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@365f10e6
Total blocked: 1,312  Total waited: 2,385

Stack trace: 
 sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.park(Unknown Source)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown
Source)
java.util.concurrent.ArrayBlockingQueue.take(Unknown Source)
org.apache.activemq.transport.FutureResponse.getResult(FutureResponse.java:40)
org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:87)
org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1284)
org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1392)
   - locked java.lang.Object@78edcc14
org.apache.activemq.ActiveMQConnection.start(ActiveMQConnection.java:504)
com.xalert.server.queuing.QueueManager.createConnection(QueueManager.java:528)
com.xalert.server.queuing.QueueManager.getSessionManager(QueueManager.java:658)
   - locked com.xalert.server.queuing.QueueManager@677c8bb9
com.xalert.server.serverinstance.WorkerThread.run(WorkerThread.java:133)
   - locked com.xalert.server.serverinstance.WorkerThread@648730b8

TIA
Ian


--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-connections-hangs-sometimes-when-calling-start-on-a-connection-tp3599772p3599772.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message