This content has been marked as final.
Show 6 replies
-
1. Re: JBAS-4489 - Suspending Incomplete BMT transactions
wolfc Jun 19, 2007 10:31 AM (in response to adrian.brock)The exception throwing should work as well. I'll modify the test case.
I'll also modify the message to point to the EJB3 spec instead of EJB1.1. -
2. Re: JBAS-4489 - Suspending Incomplete BMT transactions
wolfc Jun 19, 2007 12:02 PM (in response to adrian.brock)Hmm, after a timeout the status is set to ROLLEDBACK. I can't see whether this due to timeout or ut.rollback().
-
3. Re: JBAS-4489 - Suspending Incomplete BMT transactions
andy.miller Jun 19, 2007 12:42 PM (in response to adrian.brock)Carlo, as I understand it from the initial thread on this topic, when the transaction times out, JBoss Transactions will set the transaction status to ROLLEDBACK, so what you are seeing is the correct behavior for the test case.
-
4. Re: JBAS-4489 - Suspending Incomplete BMT transactions
wolfc Jun 19, 2007 12:46 PM (in response to adrian.brock)But that means no exception is thrown.
Ah wait, now I see.boolean gotException = true;
Does this mean I can Wolf Adrian? :-) -
5. Re: JBAS-4489 - Suspending Incomplete BMT transactions
andy.miller Jun 19, 2007 1:07 PM (in response to adrian.brock)Wolf Adrian at you own risk ;-)
-
6. Re: JBAS-4489 - Suspending Incomplete BMT transactions
bdecoste Jun 19, 2007 1:09 PM (in response to adrian.brock)I'd Burke him to be safe.