TDM portal job scheduler: How to change the idle wait time before a job gets picked up from the queue?

Document ID : KB000009845
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

The TDM Web portal job scheduler generally waits for about 30 seconds to pick up and process a job once it has been submitted. This document explains the steps on how to change the idle wait time between when a job has been submitted by a user and when it gets picked up from the queue and processed.

Environment:
TDM Web portal 3.6 and later
Instructions:

There is a Quartz property that needs to be set in order to change the wait time for the jobs to be picked up from the queue. Follow these steps to add and edit the property, depending on whether you are using an Oracle or MS SQL Server (MSSQL) repository:

 

For Oracle repository:

a. Edit the “quartz_oracle.properties” file that exists under “C:\Program Files\CA\CA Test Data Manager Portal\tomcat\webapps\TDMJobService\WEB-INF\classes” folder.

b. Add the following line to set the wait time to 5 seconds for example:

org.quartz.scheduler.idleWaitTime=5000

c. Restart the CA TDM portal Windows service.

 

For MSSQL repository:

a. Edit the “quartz_sqlserver.properties” file that exists under “C:\Program Files\CA\CA Test Data Manager Portal\tomcat\webapps\TDMJobService\WEB-INF\classes” folder.

b. Add the following line to set the wait time to 5 seconds for example:

org.quartz.scheduler.idleWaitTime=5000

c. Restart the CA TDM portal Windows service.

 

It is recommended by Quartz to not reduce the wait time to below 3 seconds.

Additional Information:

More information on the Quartz scheduler settings can be found here: 

http://www.quartz-scheduler.org/documentation/quartz-2.1.x/configuration/ConfigMain.html