Seems like you are running into undetectable deadlock with a scenario like:
in, say, a session facade method with Required tx attr:

      ALocal a = AUtil.getLocalHome().findByPrimaryKey(new APK(new Long(1), "avoka"));
      a.doRequired(); // tx attribute Required
      a.doNotSupported(); // tx attribute NotSupported

The doNotSupported() invocation will lead to a deadlock. Because it will find that the 
instance 'a' is locked. Same would be true for a.doRequiresNew().
Try Required for all method invocations. Plus, NotSupported is the worst option for 
entity beans.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839310#3839310

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839310


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to