Automation job fails to execute, getting ERROR: "FAILED: Task 1 Open Analysis from Library failed to finish executing for job XXX-XXX-XXX-XXX. Configuration setting 'maxWaitTimeForTaskBackgroundJobToFinishSeconds' can be increased for slow running jobs."
book
Article ID: KB0073290
calendar_today
Updated On:
Products
Versions
Spotfire Automation Services
7.5 and higher
Description
Error while executing Automation service job. Refer to the attached screenshot (Filename: Error_Screenshot_AS-Job.JPG). -------------- Starting job Test.xml on server http://spotfire_test.tss.com/ FAILED: Task 1 Open Analysis from Library failed to finish executing for job XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX. Configuration setting 'maxWaitTimeForTaskBackgroundJobToFinishSeconds' can be increased for slow running jobs --------------
Issue/Introduction
Automation job fails to execute. ERROR: "FAILED: Task 1 Open Analysis from Library failed to finish executing for job XXX-XXX-XXX-XXX. Configuration setting 'maxWaitTimeForTaskBackgroundJobToFinishSeconds' can be increased for slow running jobs."
Environment
All Supported Operating Systems
Resolution
You need to increase the value for the parameter "maxWaitTimeForTaskBackgroundJobToFinishSeconds" for the Automation Services service configuration via the TIBCO Spotfire Server. Use the following steps to change the value for the "maxWaitTimeForTaskBackgroundJobToFinishSeconds" parameter.
============== 1). On the Spotfire Server machine, open command prompt and "cd" (change directory) to <Spotfire installation directory>\tomcat\bin (For version 10.2.0 and lower) or <server installation dir>/tomcat/spotfire-bin(for version 10.3 and higher)
2). Run the following command to export the service configuration.