Changing the Maximum Size for the Storage of the ERROR.PDF File
Use
When the rendering of a form fails, Adobe document services create a file that contains detailed information about the error, called Error.PDF. This file is written on the server that hosts the Adobe document services in the directory <DIR_GLOBAL>\AdobeDocumentServices\renderErrorLog\ErrorFiles . The file name is <Date+Time+ApplicationName+Username>.pdf. The default maximum size of the error file directory is 100 MB. After it creates the Error.PDF, the system examines the directory to determine the total size of files in the directory. If that size is more than the maximum allowed, it begins deleting files (oldest first) until the directory size is below the maximum allowed or until only one error file is left in the directory.
For security reasons, you should delete stored Error.PDF files on a regular basis.
You can delete Error.PDF files in two ways:
- On file level, in directory < DIR_GLOBAL > \AdobeDocumentServices\renderErrorLog\ErrorFiles.
- Set back the threshold in the file renderErrorConfig.xml to 0 and restart the AS Java.
Prerequisites
SAP NetWeaver 7.0 SP Stack 6 or higher
Procedure
If you want to change the maximum size, do the following:
-
Change the value by modifying the file renderErrorConf ig.xml in the directory <DIR_GLOBAL>\AdobeDocumentServices\renderErrorLog.
-
Save the file
-
Start the J2EE Engine for the change to take effect.
Example
Here is a sample renderErrorConfig.xml:
<?xml version=“1.0“?>
<renderErrorLog>
<!—The maximum size of error files directory, measure in MB-->
<threshold>
100
</threshold>
</renderErrorLog>
See also: