]
Ovidiu Feodorov closed JBMESSAGING-491.
---------------------------------------
Resolution: Done
Deadlock among ServerConsumerEndpoint.lock and
RoundRobinPointToPointRouter.receiver's locks
--------------------------------------------------------------------------------------------
Key: JBMESSAGING-491
URL:
http://jira.jboss.com/jira/browse/JBMESSAGING-491
Project: JBoss Messaging
Issue Type: Bug
Components: Messaging Core
Reporter: Ovidiu Feodorov
Assigned To: Ovidiu Feodorov
Priority: Blocker
Fix For: 1.0.1.CR4
@Thread 3 has 'RoundRobinPointToPointRouter.receivers' and it's waiting for
'ServerConsumerEndpoint.lock'
@main has 'ServerConsumerEndpoint.lock' but is waiting for
'RoundRobinPointToPointRouter.receivers'
2006-08-04 10:05:24,065 23390 TRACE [org.jboss.jms.client.delegate.DelegateSupport]
(main:) invoking close on server
2006-08-04 10:05:24,065 23390 TRACE [org.jboss.jms.server.container.ServerLogInterceptor]
(main:) invoking ConsumerAdvised->ConsumerEndpoint[-2147483430].close()
2006-08-04 10:05:24,065 23390 TRACE
[org.jboss.jms.server.endpoint.ServerConsumerEndpoint] (Thread-3:)
ConsumerEndpoint[-2147483430] receives reference 3585 for delivery
A successful run:
2006-08-04 19:49:29,315 3828 TRACE
[org.jboss.jms.server.endpoint.ServerConsumerEndpoint] @Thread-3
ConsumerEndpoint[-2147483632] receives reference Reference[1]:RELIABLE for delivery
2006-08-04 19:49:29,315 3828 TRACE [org.jboss.jms.client.container.ClientLogInterceptor]
@main ConsumerDelegate[-2147483632].closing() OK
2006-08-04 19:49:29,315 3828 DEBUG
[org.jboss.jms.server.endpoint.ServerConsumerEndpoint] @Thread-3
ConsumerEndpoint[-2147483632] NOT started yet!
2006-08-04 19:49:29,315 3828 TRACE [org.jboss.jms.client.container.ClientLogInterceptor]
@main invoking ConsumerDelegate[-2147483632].close()
2006-08-04 19:49:29,315 3828 TRACE
[org.jboss.messaging.core.local.RoundRobinPointToPointRouter] @Thread-3 receiver
ConsumerEndpoint[-2147483632] handled Reference[1]:RELIABLE and returned null
2006-08-04 19:49:29,315 3828 TRACE [org.jboss.jms.client.delegate.DelegateSupport] @main
invoking close on server
2006-08-04 19:49:29,315 3828 TRACE [org.jboss.jms.server.container.ServerLogInterceptor]
@main invoking ConsumerAdvised->ConsumerEndpoint[-2147483632].close()
2006-08-04 19:49:29,315 3828 TRACE [org.jboss.messaging.core.ChannelSupport] @Thread-3
CoreQueue[1]: no delivery returned for messageReference[1]:RELIABLE so no receiver got the
message
2006-08-04 19:49:29,315 3828 TRACE [org.jboss.messaging.core.ChannelSupport] @main
CoreQueue[1] removed ConsumerEndpoint[-2147483632]
2006-08-04 19:49:29,315 3828 TRACE [org.jboss.messaging.core.ChannelSupport] @Thread-3
Delivery is now complete
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: