[jboss-dev-forums] [EJB Development] - Re: Entity bean deadlock
bartatamas
do-not-reply at jboss.com
Mon Sep 28 02:02:14 EDT 2009
I think it has the same problem.
thread1 is in A.getTitle so locks A.
thread2 is in B.getTitle so locks B.
thread1 gets B and calls Sync.getName(B), and waits for B there (in b.getName() because thread2 locks B)
thread2 gets A and waits for the Singleton to call getName(A), but thread1 will not return
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257237#4257237
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257237
More information about the jboss-dev-forums
mailing list