BMC Remedy Action Request System 7.6.04: BMC Remedy Mid Tier ...
BMC Remedy Action Request System 7.6.04: BMC Remedy Mid Tier ...
BMC Remedy Action Request System 7.6.04: BMC Remedy Mid Tier ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Cache settings<br />
How the prefetch process retrieves forms after Tomcat is<br />
started or restarted<br />
When Tomcat is started or restarted, the system retrieves specified forms as<br />
follows:<br />
The prefetch process retrieves an entry for a form from the<br />
prefetchConfig.xml file, and checks the timestamp on the AR <strong>System</strong> server.<br />
If the timestamp indicated on the AR <strong>System</strong> server is identical (that is, if the<br />
form has not been changed on the server), the prefetch process requests the<br />
specified form from the cache manager.<br />
If the timestamp indicated on the AR <strong>System</strong> server is newer, the prefetch<br />
process retrieves all forms specified in the prefetchConfig.xml file from the<br />
AR <strong>System</strong> server.<br />
NOTE<br />
If Tomcat starts when the AR <strong>System</strong> server is not running, prefetch does not<br />
occur. To make sure forms are correctly prefetched, verify that the AR <strong>System</strong><br />
server is running before starting or restarting Tomcat.<br />
Open source cache manager and settings in<br />
config.properties file<br />
The mid tier includes an open-source cache manager, ehcache. The following<br />
properties are available in the config.properties file to enable advanced<br />
administrators to customize the cache behavior.<br />
arsystem.resource_expiry_interval—Sets the cache expiry time (in<br />
seconds) after which the browser checks the mid tier for updated resources such<br />
as images and JavaScript files. The default value is 3600.<br />
arsystem.ehcache.maxElementsInMemory—Sets the maximum number of<br />
objects that will be maintained in the memory cache. If set to 0, the number of<br />
objects is unlimited. The default value is 2147483647.<br />
arsystem.ehcache.eternal—Sets whether elements are eternal. If eternal,<br />
timeouts are ignored and the element is never expired. The default value is<br />
true.<br />
arsystem.ehcache.timeToIdleSeconds—Sets the maximum amount of time<br />
between accesses before an element expires. This setting is used only if the<br />
element is not eternal (arsystem.ehcache.eternal=false). A value of 0<br />
means that an element can idle for infinity. The default value is 0.<br />
arsystem.ehcache.timeToLiveSeconds—Sets the maximum time between<br />
creation time and when an element expires. This setting is used only if the<br />
element is not eternal (arsystem.ehcache.eternal=false). A value of 0<br />
means that an element can live for infinity. The default value is 0.<br />
Chapter 1 Configuring the mid tier 35