Skip to main content
Participating Frequently
August 14, 2023
Question

Coldfusion 2018 Admin page give 500 error after hotfix 16

  • August 14, 2023
  • 3 replies
  • 1419 views

HTTP Status 500 – Internal Server Error


Type Exception Report

Message coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Runtime service is not available.

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

    This topic has been closed for replies.

    3 replies

    Charlie Arehart
    Community Expert
    Community Expert
    August 15, 2023

    If Ravi's suggestions may not get you to resolution, I'd propose instead you focus on the assertion that this happened with update 16. First, what update had you been on before that?

     

    Second and more important, what is reported in the log from that update. To be clear, you would look at opt/coldfusion2018/cfusion/hf-updates and its folder for update 16. In that will be an install log, and in that will be a count of fatalerrors and nonfatalerrors. Those should both be 0. If they are not, then there were errors during the install of the update. There can be many causes for that,.and solutions. Let's hear what you find, first. 

    /Charlie (troubleshooter, carehart. org)
    AJIT5CDCAuthor
    Participating Frequently
    August 15, 2023

    Updating from HF 10 to HF 16. I successfully did on several servers but some of the servers same operation is failing.

    Here is the output of install log.

    Mon Aug 14 03:24:35 EDT 2023

    Free Memory: 18951 kB
    Total Memory: 61440 kB

    java.class.path:
    /opt/coldfusion2018/cfusion/hf-updates/hotfix-016-330130.jar

    ZGUtil.CLASS_PATH:
    /opt/coldfusion2018/cfusion/hf-updates/hotfix-016-330130.jar

    sun.boot.class.path:
    <none specified>

    java.ext.dirs:
    <none specified>

    java.version == 11.0.1 (Java 1)
    java.vm.name == Java HotSpot(TM) 64-Bit Server VM
    java.vm.vendor == Oracle Corporation
    java.vm.version == 11.0.1+13-LTS
    java.vm.specification.name == Java Virtual Machine Specification
    java.vm.specification.vendor == Oracle Corporation
    java.vm.specification.version == 11
    java.specification.name == Java Platform API Specification
    java.specification.vendor == Oracle Corporation
    java.specification.version == 11
    java.vendor == Oracle Corporation
    java.vendor.url == http://java.oracle.com/
    java.class.version == 55.0
    java.library.path == /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib
    java.compiler == null
    java.home == /opt/coldfusion2018/jre
    java.io.tmpdir == /tmp
    os.name == Linux
    os.arch == amd64
    os.version == 3.10.0-1160.92.1.el7.x86_64
    path.separator == :
    file.separator == /
    file.encoding == UTF-8
    user.name == root
    user.home == /root
    user.dir == /opt/coldfusion2018/cfusion/logs
    user.language == en
    user.region == null
    __________________________________________________________________________

    Installed Feature(s) Standard, J2EE of Adobe ColdFusion 2018 Update 16

    Install Begin: AUGUST 14, 2023 3:23:02 PM EDT
    Install End: AUGUST 14, 2023 3:24:32 PM EDT

    Installed by InstallAnywhere 20.0 Premier Build 6376


    User Interactions
    -----------------


    #Choose ColdFusion 2018 Home directory
    #--------------------------------------
    USER_INSTALL_DIR=/opt/coldfusion2018

    #Install
    #-------
    -fileOverwrite_/opt/coldfusion2018/notice.txt=Yes

    Summary
    -------

    Installation: Successful.

    3090 Successes
    0 Warnings
    0 NonFatalErrors
    0 FatalErrors

    Action Notes:

    None

    Charlie Arehart
    Community Expert
    Community Expert
    August 16, 2023

    Java version is same for both working and not working servers. 


    Separate from Priyank's subsequent suggestion, I'd want to confirm first how you're judging that the Java is the "same". I realize you know the same Java is on both machines.

     

    But can you look at what's reported in the cf admin "settings summary" page? Cf could be pointing to a JVM other than what you expect. Second, can you look in the same update log on the working server? The jvm used by that could be OTHER than what's used by cf, as you or someone could have applied the update from the command line. That could cause it to use a different version than the 11.0.1 reported above.

     

    Just offering this for the sake of completeness. 

    /Charlie (troubleshooter, carehart. org)
    AJIT5CDCAuthor
    Participating Frequently
    August 14, 2023

    Aug 14, 2023 3:51:18 PM org.apache.catalina.core.ApplicationContext log
    INFO: failed to load: coldfusion.CfmServlet
    Aug 14, 2023 3:51:18 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Allocate exception for servlet [CfmServlet]
    coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Runtime service is not available.

    RaviShankar Chagnur
    Adobe Employee
    Adobe Employee
    August 14, 2023

    Hello Ajit,

     

    Can you please start ColdFusion instance through command prompt using cfstart.bat command and share the output

     

    Thanks & Regards

    Ravi

    AJIT5CDCAuthor
    Participating Frequently
    August 14, 2023

    Exception

    javax.servlet.ServletException: coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Runtime service is not available.
    	coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:129)
    	coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:111)
    	org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
    	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
    	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:377)
    	org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:463)
    	org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
    	org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)
    	org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1743)
    	org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
    	org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
    	org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
    	org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    	java.lang.Thread.run(Thread.java:748)

    Root Cause

    coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Runtime service is not available.
    	coldfusion.server.ServiceFactory.getRuntimeService(ServiceFactory.java:121)
    	coldfusion.CfmServlet.init(CfmServlet.java:101)
    	coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:121)
    	coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:111)
    	org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
    	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
    	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:377)
    	org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:463)
    	org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
    	org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)
    	org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1743)
    	org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
    	org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
    	org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
    	org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    	java.lang.Thread.run(Thread.java:748)