Wednesday, September 9, 2009

ColdFusion 8 on Snow Leopard

I did a clean install of Snow Leopard on my Mac Pro, and although I do 100% of my work on Linux these days, many of my colleagues use Macs so I thought I'd give installing ColdFusion 8 a shot.

First problem is the CF 8 intsaller won't run without Rosetta, which is an emulation layer that allows Universal Binaries to run on Snow Leopard. (For those of you who aren't aware, Snow Leopard does not run on PowerPC-based Macs.)

I decided not to install Rosetta, so that's a non-starter. From what I understand if you have Rosetta it does work, but the JRun web server connector doesn't. This is exactly the same as it was with CF 7, when you had to get the web server connector source code and compile it using Xcode. Not a big deal, but I don't use JRun anymore and since it's more or less a dead product at this point, I really encourage people to investigate other servlet containers like Tomcat. Short answer is it's not worth my time to even worry about the web server connector.

So what to do? Since this is all Java you can use a WAR file generated on ANY machine, deploy it on Tomcat, and you're good to go. I grabbed a WAR from my Ubuntu laptop, dropped that in Tomcat's webapps directory, and it runs fine.

Just thought I'd throw that out there as another approach since in the big of Scroogling I did on the issue, it seems people are just twiddling their thumbs waiting for Adobe to release a patch for Snow Leopard.

Why wait? Scrape up another machine somewhere, fire up a VM, or beg a friend who's not running Snow Leopard to generate a WAR for you, and move to a much more flexible development environment than you get with the standard ColdFusion install.


Anonymous said...

I bet Tomcat is great, but if all you have is a CF8 standard license, you are kindda stuck with JRun...

Matthew Woodward said...

True for production, but you could certainly do this setup on development.