Do we have any difference in the way the Exception are handled with Jboss3.2.6 and JBoss4.0.5GA? I have one scenario where from the Program I am throwing the SystemException Manually but the exception message thrown seems to be different..
1. Complete Step 1 (WIth one transaction)
Status: data are changed in accordance with Step1 usecase
2. Complete Step2 (With new transaction). We are throwing System Exception manually.
Step1 started with new transaction and process gets committed since no system exception is thrown.
Step2 started with new transaction but gets rolled back since System Exception thrown and also further execution stops. This behavior is as expected
Step 1started with new transaction and process gets committed since no system exception is thrown.
In Sample Prep Conversion Call type while getting rollback because of system exception ?java.lang.IllegalStateException: setRollbackOnly() not allowed without a transaction? is thrown. Seems the transaction is not created.
Did you try to post on a JTA user forum and end up on "Design of Clustering" instead? This is the second post I've seen on this forum this week asking obscure JTA questions complete unrelated to the forum topic. I'm wondering if there's a problem in the forum software.
If you did deliberately post here, please use a user forum related to your question.