Skip to main content
Participating Frequently
June 12, 2020
Question

ColdFusion 2016 Scheduled Tasks

  • June 12, 2020
  • 1 reply
  • 888 views

I have scheduled tasks in CF 2016 . They have been running successfully for years however, now it runs but actually it does not. The scheduler log says it is triggering but actually does not. When the task's URL accessed directly from browser the CF page actually get executed. When I set the  "set to save output to file" the log  says "Connection Failure"

 

I have restarted the CF instance with no successm Any advise would be of great help on what could be the issue with scheduled task.

    This topic has been closed for replies.

    1 reply

    collaboranaut
    Participating Frequently
    June 16, 2020
    Charlie Arehart
    Community Expert
    Community Expert
    June 17, 2020

    collaboranaut, I'm not so sure we should presume that Stephen's error here is the same as that one, which seems a very specific and unusual problem. Stephen's here is a very general and common one, and there are various solutions.

     

    Most often, it's caused by a change on the server which your scheduled task URL is pointing. And most often, to get it working, it's just a need to update the JVM that CF uses. (Less often, it's a need to import a certificate--though that's what most would recommend.)

     

    So Stephen, check out a blog post I did on the first suggestion (updating the JVM that CF uses): 

    https://coldfusion.adobe.com/2019/06/error-calling-cf-via-https-solved-updating-jvm/

     

    And let us know if that helps.

    /Charlie (troubleshooter, carehart. org)
    Participating Frequently
    October 24, 2022

    Hello!

    we've started seeing similar issue on CF2016 where the Scheduled tasks works without any issue when pointed to a bit older JDK (i.e. jdk1.8.0_321), but with anything above this, I get the following error in the logs..

    "Information","DefaultQuartzScheduler_Worker-1","10/24/22","11:17:56","","Task DEFAULT.NGA Notifications triggered."
    "Error","DefaultQuartzScheduler_Worker-1","10/24/22","11:17:56","","Connection Failure: Status code unavailable "

    I've tested with these JDKs (jdk1.8.0_331, jdk1.8.0_341, jdk1.8.0_351) and i'm totally stumped at this point...