Skip to main content
Participant
April 6, 2023
Answered

"The Cron service is not available" accessing CF Admin after applying CF2018 update 16

  • April 6, 2023
  • 1 reply
  • 1108 views

After applying update 16 to our Coldfusion (2018 release) server, the remains available externally but CF Admin is inaccessible, with a "The Cron service is not available" error.  Looking through other threads, I checked neo-cron.xml and does not appear to be corrupted, and I tried replacing it with the pre-update file with no result.

 

Uninstalling the update returns CF Admin to an accessible state.

 

Error text is:

The Cron service is not available.
This exception is usually caused by service startup failure. Check your server configuration.


The error occurred in Application.cfm: line 105
Called from Application.cfm: line 89
Called from Application.cfm: line 4
Called from Application.cfm: line 1

-1 : Unable to display error's location in a CFML template.

Resources:
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.
Browser
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
Remote Address
127.0.0.1
Referrer

Date/Time
05-Apr-23 10:14 PM

Stack Trace
at cfApplication2ecfm1078631624._factor0(/CFIDE/administrator/Application.cfm:105) at cfApplication2ecfm1078631624._factor3(/CFIDE/administrator/Application.cfm:89) at cfApplication2ecfm1078631624._factor11(/CFIDE/administrator/Application.cfm:4) at cfApplication2ecfm1078631624.runPage(/CFIDE/administrator/Application.cfm:1)

 

    This topic has been closed for replies.
    Correct answer jentao

    At Adobe support's recommendation via email, I cleared out all old log4j and slf files and replaced with a different set they provided, but this still did not work.


    Followup to the issue, after jumping on a call with Adobe support:

    I was only looking at the Java files in <cfroot>/cfusion/lib, I did not realize I had 'bad' files in <cfroot>/cfusion/wwwroot/WEB-INF/lib as well.  I was thrown off because we have different deployment profiles for separate server roles, some of which had deprecated lib files in that WEB-INF folder.

    When I restored WEB-INF/lib to the original files (I believe there are 13), Coldfusion Administrator was available again after update 16 was applied.

    Hopefully this helps others.

    1 reply

    jentaoAuthor
    Participant
    April 6, 2023

    Additional error message info, upon shutting down and restarting from the command line (cfstop / cfstart):

     

    Apr 6, 2023 10:42:13 AM Error [main] - Unable to initialise Cron service: java.lang.NoSuchMethodError: org.apache.log4j.helpers.OptionConverter.convertLevel(Ljava/lang/String;Lorg/apache/logging/log4j/Level;)Lorg/apache/logging/log4j/Level;

     

    Vikram Kumar M
    Community Manager
    Community Manager
    April 6, 2023

    @jentao It looks like there is a conflict with log4j class files. Please get in touch with our support at cf.install@adobe.com.

     

    Thanks,

    Vikram

     

    Participating Frequently
    April 10, 2023

    Please post a solution to this, rather than saying to get in touch with support.  We're getting this issue now as well, and I suspect others are too.  Glad to work with you on a fix if necessary.