These 2 don’t play well. (as I stated in “Fusebox 5 Arrgghhh!“)
[Updated 7/2010]
Well, here I am again. For those of you that haven’t yet updated to CF8 and are for some unknown reason NOT using Linux as your dev server.. here ya go.
- Make sure any instance of IIS is uninstalled. (this will cause Apache to not register the socket and fail)
- Install the latest Apache binary for windows. they’re a little hard to find.. but here ya go.
- Test apache and make sure you get the “It Works!” screen at http://localhost … if it doesn’t, you screwed up. try again.
- Install your CF server
- Install the CF 7.02 update (this might screw up.. mine keeps failing.. try it later)
- Download the new wsconfig.zip file (or) from adobe and read their technote [edit: link replaced 7/2010].
- Get some beer and cross your fingers!
- Stop the coldfusion service (start>run>services.msc) find coldfusion and stop it
- Rename the original wsconfig.jar file “wsconfig.old.jar”
- Extract the wsconfig.jar (in that zip file) to “[your cf root]\runtime\lib”(note* this is probably: C:\CFusionMX7\runtime\lib)
- Start the service again
- Go to cmd line and run the code at adobe’s technote with changing the bin and the dir parameters according to your installation..example: This is mine
(note, you should use single quotes, not double. It seems that when i updated wordpress it converted my original post to doubles.. its corrected now):
java -Dtrace.ci=1 -jar 'C:\CFusionMX7\runtime\lib\wsconfig.jar' -server coldfusion -ws apache
-dir 'C:\Apache2.2\conf'
-bin 'C:\Apache2.2\bin\httpd.exe'
-coldfusion -v
[-apxs]
If it goes OK, then you’re done!
If not, keep reading….
If it yelled at you for some Mbean exception. you’re screwed.
no, not really. it just means you have a never version of the JRun. you need 1.4 while most of us have 1.5 or better.
how to get around that is to read this blog: Roland Lopez [link updated 7/2010]
(in short, you need to install JRE 1.4.x in addition to your current JRE. this is fine, then you gotta do some editing. but its a minor work around..) (note* you do NOT need the SDK, just grab the JRE)
After installing JRE 1.4, modify the wsconfig_jvm.config file located at [cf root folder]/bin/runtime folder (in Windows).
- Open the file an edit the line
java.home=
by adding the path to the jvm 1.4. In Windows this is usually found atC:/Program Files/Java/jre1.4.xx
As you can see I’m using the forward-slash (/) instead of the usual back-slash (\).
The end product should look like:
#java.home=C:/CFusionMX7/runtime/jre //this is the original
java.home=C:/Program Files/Java/jre1.4.xx //this is the new line
- stop the service again.. i know i know…
- ok, you probably think, hey, ill run that long cmd again.. no, wrong.. DON’T. all you need to do is navigate to the {cf_root}/runtime/bin folder and type wsconfig.exe
- this will bring up the Web Services Config panel, but running JRE 1.4, instead of whatever you originally had installed.
- remove the current config. and then click add. This will bring up another dialog, browse the the conf folder for apache and fill it in. Then, on someone else’s blog it said NOT to click advanced.. well, this time it will/should work. go ahead, click it. fill in the path to the apache’s httpd.exe
- click okno errors, right?start the server?
ok. almost done..
- edit your Apache httpd conf for your webroot. (wherever you put the CFIDE folder when you installed CF)
- go to http://localhost/CFIDE/administrator/index.cfm and log in to config.
- don’t forget to change the wsconfig_jvm.config back to the original setting.. you do want to run the newest JRE. you only need to edit it to get this jerk installed.
- A commenter suggested uninstalling JRE 1.4 for security reasons.. do that too!


Thanks for this, Adobe has broken or lost your step 6 links and technotes. Since you put detailed instructions I was able to get 7.02 up on Apache 2.2. I googled up a file for a newer wbsconfig.jar.
I had an issue with the friendly quote marks on the command line example (your step 13), had to replace them with plain. In retrospect, I could have verified my lack of 1.4 java version and skipped step 13 altogether. Also for step 19, it would be wise to uninstall the 1.4 java for security reasons. Great Job!
updated post! thank you for letting me know the links died.. i fixed them now.