On Premise Only - Jaspersoft Scheduler Running Deleted Scheduled Jobs

Document ID : KB000072774
Last Modified Date : 11/04/2018
Show Technical Document Details
Issue:

When upgrading Jasper Server from previous version to the New Version or import a Jasper catalog

Expected Result: It should not carry over the Orphan Jobs

Actual Result:  "orphan" jobs, They may appear again when you upgrade or import a catalog that contains them.

Resolution:

To automatically Delete Orphan Jobs

1. Locate configuration file on the jaspersoft server in the location .../WEB-INF/applicationContext-report-scheduling.xml

2. Find Entry for autoDeleteBroken and UriReportJob

3. Change this property from false (the default) to true. Orphan jobs are detected and deleted just before they run, so all orphan jobs will be deleted gradually over time.