Sameer_Chandragiri

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

Discussion created by Sameer_Chandragiri Employee on Jan 13, 2017

This document can also be viewed at https://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.TEC1573977.html.

 

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:

  1. 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.
  2. Add the following line to set the wait time to 5 seconds for example:

org.quartz.scheduler.idleWaitTime=5000

  1. Restart the CA TDM portal Windows service.

 

For MSSQL repository:

  1. 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.
  2. Add the following line to set the wait time to 5 seconds for example:

org.quartz.scheduler.idleWaitTime=5000

  1. 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

Outcomes