This documentation supports the 22.1 version of Action Request System.
To view an earlier version, select the version from the Product version menu.

Changing Tomcat settings for efficient serialization

Serializing the forms indicates persisting cache in memory to disk in a clean way. Because the time required to serialize forms can vary depending on their size and complexity, you might need to increase the Tomcat shutdown time and thread stack sizes to enable the efficient serialization of your forms.

Addressing the timeout setting

The cache objects are available from memory to disk across restart only if you have a clean Tomcat shutdown. In the Apache Tomcat properties, set the shutdown time and thread stack size to an appropriately high value. In the following screenshot, Timeout is set to 0, so the system will wait for a clean shutdown and not stop the service. (In the Windows operating system, the default Timeout is one minute. The default setting overrides the value you set here.)

If you are using the version of Tomcat that was bundled with your  AR System installation on Windows, the service might fail to restart if the timeout setting is too low and you have cached many forms.

To increase the shutdown timeout in the Tomcat configuration tool

  1. Select Start > All Programs > Apache Tomcat > Configure Tomcat.
  2. Click the Shutdown tab.
  3. In the Timeout field, enter a value that is appropriate for the number of forms you have cached. The more forms you have cached, the larger this number should be. A value of 60 seconds is recommended. Use a higher value if you will be caching a large number of forms.
  4. Click the General tab.
  5. Click Start.
  6. Click OK.

You do not need to adjust the shutdown time when running Tomcat from the command line.

Was this page helpful? Yes No Submitting... Thank you