Skip to main content
Known Participant
Nov 18, 2026 5:49 PM UTC
Question

Scheduler not working

Hi,

Using cf version 2021.

Around 40-50 Coldfusion schedulers  configured at production.

Ir stopped working from today, showing in log as triggered.

After that, its displayed in scheduler, exception, coldfusion out log as 'connection failure,status unavailable '.

Restarted cf service, still no change.

Kindly advise.

 

Thanks 

    5 replies

    RzAfAuthor
    Known Participant
    Nov 19, 2026 3:51 PM UTC

    Root cause identified.

    Had a discussion with server team and as you mentioned, there was a change, the ssl certificate was updated one day before which was going to expire after 3 days. When I reverted back to old ssl certificate, the scheduler is working fine.

    When the ssl certificate of website is updated, is there any action to be done on coldfusion side, please advise.

    Translate
    Charlie Arehart
    Community Expert
    Community Expert
    Nov 19, 2026 4:00 PM UTC

    Yes, it may be that you need to update java, as I’ve suggested now twice. Or you may need to import the new cert--but as I said in my first reply, don’t presume that. Also, it’s important to keep Java updated. Note that I am NOT proposing you move from Java 11 to some later version (like Java 27 or 25 or 21 or 17, all supported LTS versions). I am proposing you update your 11, to its latest, which is 11.0.33.1. I pointed to two resources that discuss both matter further.

    Or as I said in the first reply, if that’s all just too much to take in (or feels risky), this is something I can help you with quite quickly, and safely (including reverting if something goes amiss).

    Translate
    /Charlie (troubleshooter, carehart. org)
    RzAfAuthor
    Known Participant
    Nov 19, 2026 7:54 AM UTC

    Thanks for the update.

    Run the page in cfhttp call and received response as   'Pkix building path failed, unable to find valid certification path to target '

    Java current version is 11.0.1

    Since we are using coldfusion version 2021,

    What are the next step we can do?

    Kindly advise 

    Translate
    Charlie Arehart
    Community Expert
    Community Expert
    Nov 19, 2026 2:05 PM UTC

    Update Java to a much more recent Java 11. The latest is 11.0.33.1, released Tuesday. Again, see my blog post offered below on the generic reason that updating Java can help in this specific situation. The as for the update of this week, see my post on that: https://www.carehart.org/blog/2026/11/17/java_updates_nov_2026_and_java4shell

    Translate
    /Charlie (troubleshooter, carehart. org)
    Charlie Arehart
    Community Expert
    Community Expert
    Nov 18, 2026 9:44 PM UTC

    There can be many reasons that CF scheduled tasks stop working “suddenly”. (And if you were on CF2023 or 2025 and had applied their update of Oct 13, there is a specific issue that could have caused failure of scheduled tasks. But you say you’re on CF2021.)

    Let’s consider a couple of possibilities.

    1)  First, you say that you see some CF logs saying the task is “triggered”, but then other logs say “connection failure”.

    What I would recommend first is that you get the URL for one of those tasks that is failing. First, try to run it in a browser. Next, try to run it in a browser that is running on the CF server. If it fails with those, then the issue is not with CF but with the URL being called (which may or may not itself be a CF page, and may or may not be on the same CF instance that is calling it as a scheduled task).

    If the URL DOES work in a browser, then a next step is to create a test cf page and do a cfhttp call to that url, and dump the output of the cfhttp variable. You should see more detail about the error (than you may have gotten in those log entries). Tell us the error.

    Also, is the URL that’s being called a https one? That may give us a clue also. (And even if not, when you run them in the browser, do they end up showing that they were redirected to an https url?)

    2) As for “what happened”, there is always SOME change that has caused the “sudden” failure. And you have shown that simply restarting CF was not the answer. If our diagnostics above don’t help, the next challenge is finding “what changed”. You may well say you “changed nothing”. But then the problem could then be with something regarding the server that is SERVING the URLs (which again may or may not be this server running CF).

    For example, if the urls are using https then you may be serving them through a web server like IIS or Apache. Maybe someone changed the server ssl certificates for the sites being called.  They may use a new more-modern encryption algorithm, or use more bits.

    3) In that case, your CF2021 may be running on an old Java 11 (that’s the java version that CF2021 supported). In some cases, simply updating the JVM that CF uses will be “the solution” to that problem. And usually it will have no other negative consequences (though any update COULD possible have unintended consequences).

    Others might suggest that you need to “import certificates” into the Java that CF is using, and while that MAY be needed, often it is not. Simply updating the Java is enough. It’s easy enough to try.

    I’ll note that I have a blog post on this very issue (of how simply updating the JVM is often the simple solution to a problem of CF being unable to call some https url). I had posted it on Adobe’s CF portal rather than my own blog:

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

     

    4) I know all this can be a lot to take in, when you “just want things to work” (and especially if you feel you “changed nothing”). I have offered info that I hope might help.

    But I will add that if you “just want it working” and don’t want to juggle all the info and diagnostics and risk of making changes, I can help you address and resolve the problem (if someone else here doesn’t). For more on my rates, approach, satisfaction guarantee, online calendar, email, phone, and more, see the consulting page at carehart.org.

    Please let us know what you think or find.

    Translate
    /Charlie (troubleshooter, carehart. org)