[jboss-user] [EJB 3.0] - Re: EJB3 and Timeout.

2007-08-07 Thread marcelkolsteren
The timeout specified in jboss.xml is only used if the EJB3 container needs to create a new transaction when the method in the session bean is called. A new transaction is only created in the following two cases: - the transaction attribute is Required and there is no transaction running - the

[jboss-user] [EJB 3.0] - Re: EJB3 and Timeout.

2007-08-07 Thread jc7442
In my case all transaction are required. Tra,saction is open by the container for the MDB but timeout for messagen driven seems not to be used. I move to bean managed transaction for my MDB and I set the timeout before beginning the transaction. It works fine and it solve another problem that I