This content has been marked as final.
Show 3 replies
-
1. Re: Transaction setting wrong??
jaikiran Sep 21, 2006 10:39 AM (in response to stefanraabe)Whats the transaction error? Is it a transaction timeout? The transaction timeout value for EJBs is set in the jboss-service.xml file present in %JBOSS_HOME%/server/default/conf folder:
<mbean code="org.jboss.tm.TransactionManagerService" name="jboss:service=TransactionManager" xmbean-dd="resource:xmdesc/TransactionManagerService-xmbean.xml"> <attribute name="TransactionTimeout">300</attribute> <depends optional-attribute-name="XidFactory">jboss:service=XidFactory</depends> </mbean>
By default the transaction timeout value is 5 minutes(300 seconds). You can increase it if you feel necessary -
2. Re: Transaction setting wrong??
stefanraabe Sep 21, 2006 10:44 AM (in response to stefanraabe)Sorry i forgot it. Yes it look like a timeout error. And thanks a lot for the solution it should be the right one. That was not my day.
-
3. Re: Transaction setting wrong??
boobalan_kj Oct 5, 2006 1:15 AM (in response to stefanraabe)Hi,
I dont find any TransactionManagerService on jboss-service.xml....I am using jboss4.0.3 server but I am finding that in jta-service.xml..
Now my problem is eventhough timeout is 300sec..my application is running even after 15mins ..Where would be the problem?
Thanks
Bala.