[jboss-user] [EJB 3.0] - Re: transaction closed ... guess timeout problem
jaikiran
do-not-reply at jboss.com
Wed Jan 30 01:51:54 EST 2008
anonymous wrote : could this be an timeout error ??
Probably yes. The default transaction timeout is 5 minutes (i.e. 300 seconds). If you want to have long running transactions then change this default value in jboss-service.xml file under server/xxx/conf folder:
| <!-- JBoss Transactions JTA -->
| <mbean code="com.arjuna.ats.jbossatx.jta.TransactionManagerService"
| name="jboss:service=TransactionManager">
| <attribute name="TransactionTimeout">300</attribute>
| <attribute name="ObjectStoreDir">${jboss.server.data.dir}/tx-object-store</attribute>
| </mbean>
There are a couple of transaction timeout values in that file (one for pre 4.2 JBoss version), so make sure you change the right one.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124662#4124662
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124662
More information about the jboss-user
mailing list