This content has been marked as final.
Show 1 reply
-
1. Re: JBoss 3.2.3 to 4.0.3SP1 - transaction timeouts
cbono Mar 27, 2006 9:05 AM (in response to cbono)Also, the non-transacted unit tests start-up a transaction by calling UserTransaction.begin. So somehow the ejb that is transacted does not have its transaction joined up to the transaction started by the unit test using the UserTransaction.
Anything changed w/ looking up the client user transaction?
Here is the code in the setUp() method of the unit test.
InitialContext ic = new InitialContext();
UserTransaction tx = (UserTransaction) ic.lookup("UserTransaction");
tx.begin();
Thanks