Fix deadlock between Client and MicroRemoteClientInvoker
--------------------------------------------------------
Key: JBREM-1242
URL:
https://issues.jboss.org/browse/JBREM-1242
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 2.5.3.SP1, 2.2.3.SP3
Reporter: Ron Sigal
Assignee: Ron Sigal
Fix For: 2.5.3.SP2, 2.2.3.SP4
1. a. org.jboss.remoting.Client.setupClientLease() calls
MicroRemoteClientInvoker.establishLease()
b. org.jboss.remoting.MicroRemoteClientInvoker.establishLease() synchronizes on
MicroRemoteClientInvoker.clientLeaseLock and calls Client.addConnectionListener()
c. Client.addConnectionListener() synchronizes on Client.connectionValidatorLock
2. a. Client.addConnectionListener() synchronizes on Client.connectionValidatorLock and
calls new ConnectionValidator()
b. new ConnectionValidator() calls MicroRemoteClientInvoker.getLeasePinger(), which
synchronizes on MicroRemoteClientInvoker.clientLeaseLock
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: