I'm using JBoss 4.0.4 with a JCA 1.0 (I know! And I will re-write it at some 
point!) LocalTransaction resource adapter.  During a commit there is a scenario 
where my RA detects a failure and needs to perform rollback.

I'm wondering how I should handle this ... do I need to perform the necessary 
rollback logic within my RA then call notifyOnRollback on the ManagedConnection 
... or should I throw the exception I encounter out of commit and rely on JBoss 
to invoke rollback.

I've found various containers (e.g. WebLogic/WebSphere) to differ on this point 
in the past.

Thanks!

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

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


_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to