[
http://jira.jboss.com/jira/browse/JBMESSAGING-546?page=comments#action_12... ]
Ovidiu Feodorov commented on JBMESSAGING-546:
---------------------------------------------
The main thread grabs ServerConsumerEndpoint's main lock in
ServerConsumerEndpoint.close() and tries to remove itself from the channel's router.
Cannot do that because Thread-3 holds the router's lock.
Thread-3 delivers a new reference to ServerConsumerEndpoint while holding the router's
lock (unnecessarily), and tries to grab ServerConsumerEndpoint's main lock, which is
unavailable.
The deadlock was fixed by reducing the time Thread-3 holds the router's lock.
org.jboss.test.messaging.jms.DurableSubscriberTest times out
------------------------------------------------------------
Key: JBMESSAGING-546
URL:
http://jira.jboss.com/jira/browse/JBMESSAGING-546
Project: JBoss Messaging
Issue Type: Bug
Affects Versions: 1.0.1.CR4
Reporter: Ovidiu Feodorov
Assigned To: Ovidiu Feodorov
Fix For: 1.0.1.CR5
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira