Using ColdFusion with Java 1.4.1 on OS X

JRun and ColdFusion MX 6.1 work just fine with JRun on OS X using Java 1.3.1, which is good, since, as far as I can tell, there’s no way to get it to work with the newest installation of Java, which is Java 1.4.1 (if you know of a way, please let me know). If you are not intermingling Java and ColdFusion too much, it’s a great setup, but what do you do when you need the combination of ColdFusion MX 6.1 and Java 1.4.1 and OS X? According to Sean Corfield, the answer is Jakarta Tomcat. I installed Tomcat this morning, and so far, so good. If you need access to 1.4.1 and you are working with ColdFusion MX 6.1 on OS X, Tomcat currently appears to be your best option. Macromedia even provides a set of ColdFusion installation instructions for Tomcat.

7 Responses to Using ColdFusion with Java 1.4.1 on OS X

  1. Tomcat makes it very easy to have multiple installs of CF side-by-side. Just create a new directory in {tomcat.home}/webapps and explode the CFMX WAR file into it. I currently have four CFMX installs, two running CFMX 6.1, one running Updater 3 and one still running Red Sky Beta 1 – great for testing code across multiple versions!The other thing to note is that Tomcat only uses a single JVM instance – the multiple installs of CF are just in different context roots.

  2. Christian says:

    Yes, the single JVM instance threw me off for a minute, as have document roots. Is the only way to specify a custom document root for your webapp to create an XML file in the webapps directory with a name that corresponds to your context root? There doesn’t seem to be a way to do it through the Tomcat administrator.Christian

  3. Ken Azuma says:

    Hi,If we want to use multiple CFMX, what should I config for for example, what shoud I set CF_HOME setting?

  4. I have an Apple G5 and have Cold Fusion running just fine off of JRun, however, can’t get jrun’s wscconfig to build a connection between the apache web server and cfmxj2ee. Does anyone know how to get the wsconfig.jar app to work? Is there any other way to get apache to run cfmx on a Mac?Thanks in advance,Charles

  5. I just purchases Jaguar and have tested everything out. coldfusion and java work perfectly on Jaguar!The only problem with Jaguar is that there are still a minor bug here and there — which I’m sure Apple will fix pretty soon and release an update

  6. Michael Muite says:

    I have an a cf app whose document root I wish to change.I would like the app to be served as Right now it is serverd as alluded to creating an xml file…My config is OS X, cfmx, Tomcat, and Apache 2

  7. I have OS X, CFMX, Tomcat, and the default install of Apache 1.3. I can access the CF Admin using http://localhost/cfusion/CFIDE/Administrator. I’ve bridged Apache & Tomcat with and the following directive at the end of my httpd.conf file:WebAppConnection conn warp localhost:8008#WebAppDeploy examples conn /examples #two at once doesn’t work :(WebAppDeploy cfusion conn /cfusionIs it possible to make any file the root for apache and tomcat and have it server cfm files?