Customizing JBoss Application Server


Use these procedures to customize JBoss Application Server for transactions and re-authentication.

You can find the jboss-service.xml file in the following folders:

  • (JBoss  Application Server Enterprise Edition) production\conf directory
  • (JBoss  Application Server Community Edition) default\conf directory

 

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:

  1. 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>
  2. 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:

  1. In the jboss-service.xml file, change the values of the DefaultCacheTimeout and DefaultCacheResolution parameters to 60 minutes.
  2. To apply the changes, restart JBoss Application Server.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*