Try OpenEdge Now
skip to main content
Server Administrator's Guide
Performing administration activities : Configuring Business Process Portal : Configuring Business Process Portal server for Jasper report clean up
 

Configuring Business Process Portal server for Jasper report clean up

When you execute a Jasper report, it generates temporary artifacts in the Business Process Server's web application directory. The size of these artifacts depends on the volume of data queried by the Jasper report. Over a period of time, as the number of executed Jasper reports increases, more artifacts are accumulated in the web application directory, which occupies a considerable amount of disk space.
To overcome this issue, you can configure your Business Process Portal server to schedule a job to periodically delete the old artifacts. You can configure the server by using the following parameters from the bpmportal.conf file in the $OEBPS_HOME\conf directory.
Table 11. Parameters for Jasper report clean up
Parameter
Allowed values
Description
bpmportal.jasper.schedule. cleanup.start
on, off
If you set this parameter value as 'on', then Jasper report clean up scheduler is scheduled to run when the Portal server is started.
bpmportal.jasper.schedule. cleanup.interval
Must be a valid number in seconds.
This parameter specifies the interval between two successive Jasper report clean up jobs.
bpmportal.jasper.schedule. cleanup.startdelay
Must be a valid number in seconds.
This parameter specifies the delay in seconds to start the Jasper report clean up job after Business Process Portal server is started.
bpmportal.jasper.schedule. cleanup.cutoff
Must be a valid number in seconds.
This parameter specifies the criteria in terms of seconds for deleting the files based on their age. For example, if it is set to 3600 seconds, then the temporary files older than one hour are deleted. The default value is 86400 seconds that is, one day.
bpmportal.jasper.schedule. cleanup.timeout
Must be a valid number in seconds.
This parameter specifies how long the Jasper report clean up job can run.
bpmportal.jasper.schedule. cleanup.maxfilesize
Must be a valid number in MBs.
This parameter specifies the maximum file size allowed for deletion. The Jasper report clean up job does not delete the files with size greater than the specified value.