Customizing JBoss Application Server
Use these procedures to customize JBoss Application Server for transactions and re-authentication.
To change transaction timeouts
You can increase the transaction timeout, if a background job needs more time to complete. For example, this may happen when you synchronize a large Organizational Units hierarchy with BMC IT Business Management Suite.
To increase the transaction timeouts:
In the jboss-service.xml file, change the timeout from the default value 300 (which is 5 minutes) to 3600 (which is 60 minutes) in the following section:
<!-- JBoss Transactions JTA -->
<mbean code="com.arjuna.ats.jbossatx.jta.TransactionManagerService"
name="jboss:service=TransactionManager">
<attribute name="TransactionTimeout">3600</attribute>
<attribute name="ObjectStoreDir">${jboss.server.data.dir}/tx-object-store</attribute>
</mbean>- To apply the changes, restart JBoss Application Server.
To change time interval for re-authentication
JBoss Application Server re-authenticates each logged-on user from time to time. For example, the BMC IT Business Management Suite keeps contacting the BMC Remedy AR System server to check the credentials of the user in JBoss Application Server 4.3 with the default time interval of 60 seconds.
To increase the time interval:
- In the jboss-service.xml file, change the values of the DefaultCacheTimeout and DefaultCacheResolution parameters to 60 minutes.
- To apply the changes, restart JBoss Application Server.