Skip to main content
July 7, 2009
Question

ColdFusion server-specific error code 2

  • July 7, 2009
  • 2 replies
  • 7826 views

I have the developer's version of ColdFusion 8 installed on a Vista 32-bit computer. It is installed as a stand-alone server. Usually it starts automatically when my computer starts, but now it doesn't. So I tried to start it manually and this it what I got:

"Windows could not start the ColdFusion 8 Application Server on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to server-specific code error 2."

Having Googled for a while and not finding any solutions that worked, I did a system restore to 2 days ago (I'm pretty sure ColdFusion was working then). This did not work. So I uninstalled and delete ColdFusion, then re-installed it under IIS (for irrelevant reasons). Still the same error, which is over my head why the error would still be there. So after that didn't work, I did another system restore to a point where I know ColdFusion worked. Still I get this same error. (It is now a stand-alone server again since the last system restore undid the new installation)

Does anyone have any suggestions? Most of the treads I found while searching were relating to Coldfusion 7 or lower and didn't help me out, and the few I did find concerning ColdFusion 8 didn't fix the error.

If you need anymore info please just let me know.

Thanks for your time.

    This topic has been closed for replies.

    2 replies

    July 10, 2009

    Please post the contents of your jvm.config file.

    Participating Frequently
    July 7, 2009

    Check your logs for additional information. A Server installation of

    CF has useful log files in #cf_home#/Logs but also in

    #cf_home#/runtime/logs (these are actually Jrun logs but they might

    contain clues). Archive your current logs, delete the log files and

    then try to start the CF server to see what is the error message.

    Mack

    July 7, 2009

    Thanks so much for the response! I did what you said and archived the contents of both the logs folder and the runtime/logs folder. After I tried to start the service, the only file that was created was in the runtime/logs folder. It says:

    "Error occurred during initialization of VM"


    Does that help at all?

    Participating Frequently
    July 7, 2009

    Have you removed or reinstalled the JDK ? How much memory you have

    allocated to ColdFusion (it should be under 1.8G and it's defined in

    #cf_home#/lib/jvm.config I think). Check that CF is really using the

    embedded JRE (the path to the JRE is defined in the same jvm.config

    file).

    Mack