anonymous wrote : P.S. I don't follow your point about table 1 in the JTA spec. 
  | 
  | Maybe I read it differently? 
  | 
  | Be careful with the "Associated"/"Association Suspended" and note 
  | where it says XAResource.end rather than XAResource.end(SUCCESS)

Within the EJB method:

1) Connection.close is invoked

2) The RA sees xa_end(TMSUSPEND) - the transaction association state is now T2.  
Control is returned to the caller.

3) After the EJB method exits, XAResource.end(TMSUCCESS) is called, but does not 
return control to the caller.  The RA continues to see the state as T2

4) start(TMNOFLAGS) is invoked on the same XAResource on behalf of the second client.  
Table 1 states that start(TMNOFLAGS) is not allowed on a suspended transaction 
(transaction association state T2). The logs show this being done for the second 
client.

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

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


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to