activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: ActiveMQ connections hangs sometimes when calling start on a connection
Date Thu, 16 Jun 2011 07:57:30 GMT
It doesn't seems to get necessary response from the broker.

Regards
-- 
Dejan Bosanac - http://twitter.com/dejanb
-----------------
The experts in open source integration and messaging - http://fusesource.com
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Wed, Jun 15, 2011 at 5:51 PM, IBeaumont <ibeaumont@cdcsoftware.com>wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message