-
1. Re: Deadlock in BlockingCallbackStore
ron_sigal Oct 23, 2008 11:50 PM (in response to jeremystone)Hi Jeremy,
Sure, you could create a JIRA issue at https://jira.jboss.org/jira/browse/JBREM. I'll look into it as soon as I can.
Thanks for the information.
-Ron -
2. Re: Deadlock in BlockingCallbackStore
jeremystone Oct 24, 2008 4:44 AM (in response to jeremystone)Sorry, Ron, I tried but I don't seem to have bug sumit permissions.
-
3. Re: Deadlock in BlockingCallbackStore
ron_sigal Oct 24, 2008 4:30 PM (in response to jeremystone)"JeremyStong" wrote:
Sorry, Ron, I tried but I don't seem to have bug sumit permissions.
Hmmm. Are you registered? I thought anyone that's registered could create a JIRA bug issue. -
4. Re: Deadlock in BlockingCallbackStore
ron_sigal Oct 24, 2008 11:45 PM (in response to jeremystone)Ok, I've created JBREM-1045 "ServerInvokerCallbackHandler can suffer deadlock when used with BlockingCallbackStore" (http://jira.jboss.org/jira/browse/JBREM-1045), applied a fix to branches 2.2 and 2.x, and attached a preview version of jboss-remoting.jar from the 2.2 branch.
The fix is to change ServerInvokerCallbackHandler.handleCallback() by taking the call to persistCallback(), which ultimately calls BlockingCallbackStore.add(), out of the synchronized(callbacks) block.
Jeremy, if you get a chance, let me know if the fix works for you. And thanks for pointing out the problem.
-Ron -
5. Re: Deadlock in BlockingCallbackStore
jeremystone Oct 28, 2008 7:49 AM (in response to jeremystone)Many thanks, Ron. I will give it a try soon.
-
6. Re: Deadlock in BlockingCallbackStore
jeremystone Oct 30, 2008 5:43 AM (in response to jeremystone)That seems ok now. Thanks again.
-
7. Re: Deadlock in BlockingCallbackStore
ron_sigal Oct 30, 2008 1:26 PM (in response to jeremystone)Glad to hear it.