Last night I upgraded my MacBook Pro from Leopard to Snow Leopard. I used the upgrade method instead of the clean install. So far I cannot tell that anything is different. This really does look and feel like an under the hood upgrade. At this point I have not dug into Snow Leopard UI changes, but I have been testing software.
I've had ColdFusion 8 server Developer edition installed on my MacBook Pro for a long time. After running the Snow Leopard upgrade ColdFusion server started just fine, but it was no longer connected to my Apache installation. I did remember to backup my httpd-vhosts.conf file, but I neglected to backup the main httpd.conf file. A nice side note is my /etc/hosts file was preserved by the Snow Leopard upgrade, but I was prepared with a back up just in case.
So I had to replace my httpd-vhosts.conf file with my backup copy. Once Apache restarted I was able to access my web root which is also my ColdFusion Builder / CFEclipse workspace folder. However, as feared ColdFusion server is no longer connected to Apache.
So I started searching the web to figure out how to reconnect ColdFusion server to Apache. A big thanks to Geoff Bowers at the daemonite blog for a detailed blog post with step by step instructions. The step that starts with “Open a terminal window and compile a new JRun "web connector". Type in the following verbatim, each point on its own line (hitting enter after each line):” is the step where I started in order to get ColdFusion reconnected to Apache.
Note: I already had Xcode installed due to my use of MacPorts and PostgreSQL. If you do not already have Xcode installed you will need to do that before following the instructions to compile the Apache connector. You can find the new Xcode installation package on the Snow Leopard DVD. This will save you from the 1Gb download.
I tried the manual restarts like they did with no luck and I actually had to completely reboot my MacBook Pro to complete the process. Upon reboot my ColdFusion Administrator was working and my local CF code was working. A huge plus with getting ColdFusion working this way is that all my settings, mappings, datasources etc were saved. If you do have to reinstall ColdFusion from scratch you should copy the neo-datasource.xml and neo-runtime.xml files so you can restore your settings.
Happy ColdFusioning on Snow Leopard!




