ColdFusion 11 Scheduled Task not running

coldfusionscheduled-task

I have setup two Scheduled Tasks in the ColdFusion Administrator. When I attempt to run them manually (using the "play" button in the Administrator), the page responds with:

This scheduled task was completed successfully.

However, the task has not run.

The coldfusion-out.log file has the following entries:

Jan 12, 2016 10:05:23 AM Information [DefaultQuartzScheduler_Worker-6] - Task default.Maintenance - Refresh SOLR Collection triggered.
Jan 12, 2016 10:05:23 AM Information [DefaultQuartzScheduler_Worker-6] - Starting HTTP request {URL='https://example.com/tasks/solr/', method='get'}
Jan 12, 2016 10:05:45 AM Error [DefaultQuartzScheduler_Worker-6] - Connection Failure: Status code unavailable

I am able to run the same URL in a browser with no issue – the script runs correctly.

I have imported the SSL certificate into the JRE keystore, so I don't think that's the issue.

Any idea what is going on here?

Best Answer

I was able to fix this by deleting the existing certificate entry from the keystore, then importing the correct certificate. I had originally imported the private certificate (.crt). So, I had to save a copy of the public certificate in DER format and import it, and the scheduled tasks worked again.

Related Topic