ColdFusion server-specific error code 2

Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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

Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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

Copy link to clipboard
Copied
Ok, I did your suggestions and still no change. I'm really not sure what to do...
Copy link to clipboard
Copied
Sorry, it's just too little info about the problem for me to try and
guess what is wrong. Without additional info (log files, event viewer,
anything really) there's not much I can do.
Mack

Copy link to clipboard
Copied
Please post the contents of your jvm.config file.

