This content has been marked as final.
Show 1 reply
-
1. Re: Transaction timeout not working in jboss2.4.4
matthew.james May 16, 2002 11:47 PM (in response to nsdeonia)Narinder
We have been having similar problems with transaction timeouts. What we have found is that they do seem to work if the timeout is specified *before* the begin, ie:
mUserTransaction = mEjbContext.getUserTransaction();
mUserTransaction.setTransactionTimeout(2);
mUserTransaction.begin();
We're still looking into the root cause fir this, but it seems to work for now.
Matt