ColdFusion 8 Server on Snow Leopard

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!

PostgreSQL 8.3 on Snow Leopard

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 PostgreSQL 8.3 installed on Leopard via MacPorts. Now that Snow Leopard is installed I just fired up PostgreSQL and it runs perfectly. I didn't have to do anything as far as reinstalling or fixing. Just after installing Snow Leopard I installed Xcode which is on the Snow Leopard DVD in the extras folder (I think that was the folder). I am not sure if that was needed to make PostgreSQL work, but I do know it is needed to install MacPorts in general because Xcode provides the GCC compiler.

Also, pgAdmin3 v1.10.0 is working just fine on Snow Leopard. I was able to reconnect to my PostgreSQL databases on my MacBook Pro as well as my production server. All on my data on the MacBook Pro was saved.

Next step is to check out my ColdFusion 8 server and Apache installs.

 

ColdFusion Builder on OSX Snow Leopard

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 the public beta of ColdFusion Builder installed since it came out and after upgrading to Snow Leopard there seems to be no issues at all with ColdFusion Builder.  Well there is one thing I just notice.  Startup of ColdFusion Builder is lightning fast now.  I also fired up my CFEclipse on Eclipse 3.5 installation to compare.

ColdFusion Builder starts in 5 seconds flat and is ready to use after 7 seconds.  CFEclipse took a full 20 seconds to get up and running on the first start.  After shutting it down and restarting it also started in 5 seconds and ready to go in 7 seconds.  Also note that I have the same extra plugins installed in both IDE's; Subclipse, Mylin Bridge, EPIC Perl and Shell ED.  So it looks like everything for me to do my ColdFusion coding is working on Snow Leopard.

Next is to test my ColdFusion 8 install. It runs, but I have to check to see if it is still connected to Apache and if my Apache and hosts file settings are still in tack.

Then onto my PostgreSQL database installed via Mac Ports.

For reference, my MacBook Pro is a 2.2Ghz Intel Core Duo with 4Gb of ram and a 120Gb hard drive.