This content has been marked as final.
Show 6 replies
-
1. Re: Transaction is not active during large DB activity proce
jaikiran Apr 9, 2009 9:50 AM (in response to deanouk)Transaction time-out is set to 20 mins at the moment,
How have you set that? Can you post the relevant code/configuration?and this can happen 5 mins after submission.
That makes me think that your custom transaction timeout isn't correctly set. 5 minutes is the default transaction timeout -
2. Re: Transaction is not active during large DB activity proce
deanouk Apr 9, 2009 9:54 AM (in response to deanouk)Within jboss-config.xml
<!-- JBoss Transactions JTA --> <mbean code="com.arjuna.ats.jbossatx.jta.TransactionManagerService" name="jboss:service=TransactionManager"> <attribute name="TransactionTimeout">1200</attribute> <attribute name="ObjectStoreDir">${jboss.server.data.dir}/tx-object-store</attribute> </mbean>
-
3. Re: Transaction is not active during large DB activity proce
jaikiran Apr 9, 2009 10:16 AM (in response to deanouk)Are you sure, your EJB3 beans/business methods are not overriding this value?
-
4. Re: Transaction is not active during large DB activity proce
deanouk Apr 9, 2009 10:18 AM (in response to deanouk)Yes absolutely sure. When I said 5 minutes previously, it was a guess. The time was actually under 4 minutes. I don't think this is a transaction time-out problem.
-
5. Re: Transaction is not active during large DB activity proce
jaikiran Apr 10, 2009 9:22 AM (in response to deanouk)You might want to enable TRACE level logs of com.arjuna to see what's going on.
-
6. Re: Transaction is not active during large DB activity proce
deanouk Apr 10, 2009 9:26 AM (in response to deanouk)I have - it's been hard to reproduce though. Since then I've mainly seen some kind of time out issue, which I've posted a seperate issue here:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=153839