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
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.
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?