Lifecycle Technology | Support Portal

How to Modify SAP AutoVue Connector Cache size on the AutoVue server

Follow

The maximum cache size is used to limit the disk space used by the connector.

A timer job runs every hour that evaluates the current cache size.  If the actual cache size is greater than the value specified in the configuration below, a percentage of the total cache is deleted (oldest files order).

Use the following instructions to modify the cache size and clear-down percentage that is used by the AutoVue connector for SAP.

 

Locate the SAP Connector web application web.xml file on the AutoVue server

For Glassfish this will be (Note: - the physical drive letter may vary (C:\ or D:\ etc)

C:\Oracle\glassfish3\glassfish\domains\AutoVue\applications\lct_av_sap_int\WEB-INF\web.xml

For Tomcat 6

C:\Apache\Tomcat6\webapps\lct_av_sap_int\WEB-INF\web.xml

 

Open the XML file for editing (this may require administrative privileges)

 

Set the Cache size

  • In the XML file, locate section marked “max_jvue_size”

To set a file cache size of 4GB, specify the cache size as a decimal value in GB (4.0 = 4GB).

 

  • Update the XML value highlighted in RED below to the required cache size (expressed as decimal)

 

<!-- parameter 'max_jvue_size' is used to set the maximum connector cache folder (RootDir), the size is specified in GB -->

<context-param id="max_jvue_size">

<param-name>max_jvue_size</param-name>

<param-value>4.0</param-value>

</context-param>

 

Set the cache clear down value

  • In the XML file locate the section marked "percent_to_delete"

To clear 1GB each time the cache exceeds 4GB (ie 25% of the total cache), set the percent_to_delete parameter as follows (0.25 = 25%)

  • Update the XML value highlighted in RED below to the required percentage (expressed as a decimal)

 

<!-- parameter 'percent_to_delete' is used to define the percentage of files to delete, when connector cache folder is full -->

<!-- the parameter value is specified as a decimal, ie 0.25 = 25%, 0.5 = 50% etc -->

<context-param id="percent_to_delete">

<param-name>percent_to_delete</param-name>

<param-value>0.25</param-value>

</context-param>

 

Reload the web application

Glassfish - reload application lct_av_sap_int in Glassfish

Tomcat - reload application lct_av_sap_int in Tomcat

 

 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments