[jboss-user] [EJB 3.0] - @TransactionTimeout does not work in Jboss 4.0.4???

irajeev do-not-reply at jboss.com
Fri Jan 4 14:21:56 EST 2008


I am using EJB3 on Jboss 4.0.4. I have a MDB which upon getting a message calls the stateless session bean(SSB). I am using the container managed transaction. The SSB since has to read lot of data from the Db and parse I wanted to increase the transaction timeout. I tried using the @TransactionTimeout annotation but it does not seem to work as I keep getting the  Transaction is not active: tx=TransactionImpl:XidImpl exception.
But when I changed the timeout value through the admin web console it works fine.

Also I have the @ActivationConfigProperty(propertyName="transactionTimeout" value="1800") set on the MDB. 

Thanks in advance

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117176#4117176

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117176



More information about the jboss-user mailing list