-
1. Re: EJB transaction timeout
niesar Dec 18, 2003 5:38 AM (in response to ilballa)I would like to bring this question back to everybody's attention since I'm also not yet able to solve that problem. (Setting the default timeout to a huge value is ok right now, but I prefer to change that before I go into production)
So is it possible to set different transaction timeouts for some beans or am I just too blind to find the answer somewhere?
Thank's for any help! -
2. Re: EJB transaction timeout
cvandyck Dec 19, 2003 1:14 PM (in response to ilballa)Hi,
I would also really like to know if this is possible, as I have multiple different transactional needs within the same application.
thanks- -
3. Re: EJB transaction timeout
wwheeler1464 Dec 19, 2003 1:22 PM (in response to ilballa)Funny, this was my question too and it's the very first question in the forum. :-)
Also, shouldn't there be a forum for transactions? -
4. Re: EJB transaction timeout
wwheeler1464 Dec 19, 2003 1:24 PM (in response to ilballa)p.s. I tried doing
sessionCtx.getUserTransaction()
since that has a method setTransactionTimeout(). But JBoss reports that CMT beans aren't allowed to call that method. I would like to continue to use CMT, so my guess (like the guys before me) is that the default timeout is configurable...
Willie -
5. Re: EJB transaction timeout
juha Dec 19, 2003 6:12 PM (in response to ilballa)The timeout is global, and is the same for all beans. BMT should work, although I haven't tried it myself.