PRPC uses temporary files on both the server and workstations.
On each server node of a PRPC system, temporary files including Java code and compiled Java classes are created in a directory that you identify during installation.
This directory is defined by the explicitTempDir
entry in the prconfig.xml
file or Dynamic System Settings:
<env name="Initialization/explicitTempDir" value="D:\zzzzz" />
where D:\zzzzz identifies an existing directory. (In some cases, the directory may be specified through JNDI rather than explicitly. The system does not create the directory if it is not found.)
As an alternative to the prconfig.xml file, you can use Dynamic System Settings to configure your application.
See How to create or update a prconfig setting.
If this prconfig
entry is not present, PRPC places temporary files in the working directory of the application server, for example /work/Catalina/localhost/prweb for Tomcat.
This directory is parent to other directories:
LLC
— Contains the lookup list cachePRGenBackup
— Backup copies of older versions of the generated files in PRGenJava
and PRGenClasses
PRGenJava
— Java source code, generated by rules assemblyPRGenClasses
— Compiled Java, from source code generated by rules assemblyStaticContent
— Extracted images (JPG, GIF, PNG), JavaScript files (JS) in subdirectories corresponding to user RuleSet listsStaticContent/global/ServiceExport
— Used by the archive tools for ZIP files, also contains files generated from the Deployment tab of a service package data instance.SystemManagement/SystemManagementInformation
— Contains ZIP files named SMA_INFO_date.zip
created on request by the System Management application.For example, if the directory is D:/Temp, the ServiceExport
directory is:
D:/Temp/StaticContent/global/ServiceExport
In addition to the above, the temporary files directory on many systems also contains index files that support the full-text search facility, within three subdirectories (WorkIndex
, RuleIndex
, and DataIndex
) of a directory named Index
. The directory used for full-text indexes is determined by a Dynamic System Setting named indexing/explicitindexdir.explicitTempDir
directory as short as practical.ServiceExport
directory are deleted promptly after the associated upload, download, or other processing operation on the file completes, for space and security reasons. The workstation cache for the Internet Explorer holds Web pages, images, CSS files, and JavaScript files. Select Tools > Internet Options > General > Temporary Internet Files from the Internet Explorer to set the directory that contains this cache.
Correspondence processing using Microsoft Word requires disk space for temporary files on the use workstation. PRPC creates these temporary files in the directory identified by the Windows TEMP
environment variable, or in C:/PegaTemp
if the TEMP
variable is not found or identifies a device other than C: