Skip to main content
Known Participant
April 6, 2021
Question

Coldfusion 11 App Server Won't Start Anymore After Doing Java Update

  • April 6, 2021
  • 1 reply
  • 2894 views

I'm coding a CF11 application on a Windows virtual machine. I made the mistake of seeing the orange icon flashing telling me I needed to do a Java update. After running through the update and restarting everything, the Coldfusion Application did not start. I got the "Service Not Avaialble" error in the browser. So I tried restart the Coldfusion Application and it wouldn't let me start it at all. Then went to Google and located these two somewhat helpful articles:

https://handyman.dulare.com/service-not-available-on-coldfusion-host-after-java-update/

https://community.hostek.com/t/coldfusion-service-startup-failures/550

On there they mentioned going into the CF files to the cfusion\bin\jvm.config file and updating the "java.home" variable with the current path to the Java directory. Which I did. That variable is now: C:\Program Files\Java\jre1.8.0_281 for me. I tried starting the Coldfusion Application again and now it tries to start, but then stops. Which is better than nothing at all, but it still doesn't work. Naturally there is no good error message. So I read that I should go into the Windows Event Viewer -> Click Windows Logs -> Click System -> and find the error message. Ok, so I did that, and the error says "The Coldfusion 11 Application Server service terminated with the following service-specific error: The system could not find the file specified".  Fine, but what file? It doesn't say which file. So now I'm at the throw up my hands and yell phase of frustration. Any of you wonderful Coldfusion and JVE/JVM experts have a better answer for me than the Google search?

 

 

    This topic has been closed for replies.

    1 reply

    Legend
    April 6, 2021

    Hello,

     

    Sounds like you are going in the right direction with editing CF "java.home" setting.

     

    Perhaps there is an error you can't see. Try open CMD prompt as administrator then run cfstart from \cfusion\bin\ folder. Are there any errors or warnings to notice?

     

    Regards, Carl.

    FSUKXAZAuthor
    Known Participant
    April 7, 2021

    After going to C:\ColdFusion11\cfusion\bin and running cfstart like you requested, I get this: Error loading C:\Program Files\Java\jre1.8.0_281\bin\server\jvm.dll

    Charlie Arehart
    Community Expert
    Community Expert
    April 7, 2021

    Use 2 slashes for the java.home in the jvm.config (or reverse the single slash). This is a requirement of Java on windows, not of cf.

     

    If you saved the previous java.home value, you will see it uses this. And the resources you found should have clarified it also.

     

    If that's not it, make sure there is the bin folder named in the error in  that jvm folder you named. 

    /Charlie (troubleshooter, carehart. org)