Skip to main content
Participant
January 27, 2010
Question

ColdFusion 9 is Broken on Mac OS X Server 10.6 (Snow Leopard Server)

  • January 27, 2010
  • 2 replies
  • 5275 views

I've been working with 10.6 Server for a client of mine.  After spending 4+ hours on the phone with Adobe tech support we were unable to come to any resolution.  Working from a fresh install of 10.6 Server here's what happens:

About 50% of the time after installing CF it tells me there's a syntax error in httpd.conf (which wasn't there before install).  I just clear out the httpd.conf, load a default .conf file and try the web connector utility again.  Often times then it will work, until of course I try to add websites to the server via Server Admin.  This works perfectly fine with my previous CF install in 10.4 server.

What happens after I start adding sites is that CF no longer processes default index files (index.cfm) unless I directly access them (for example http://website.com/ loads the plain text of the cfm file, whereas http://website.com/index.cfm loads the properly-processed coldfusion page and all its content)

Has anybody come across this issue?  We've been fighting it for more than a month, and even the nice, but hardly understandable, person at Adobe tech support was lost as to where to go next.  This server was due to go live weeks ago, and it's just sitting here gathering dust in the meantime.

    This topic has been closed for replies.

    2 replies

    Participant
    April 8, 2010

    Did you ever figure out what was going on and/or a fix for it.

    I have two servers running Mac OS 10.6 and Coldfusion 9. Every time I try to make changes in the server admin to apache CF quits working and only displays the plain text of the .cfm pages. The only way i get it to work again is a time machine restore.

    I have tried everything i know and can't figure it out.

    Stephen

    Participant
    July 9, 2010

    When using the "Server Admin" tool provided by OS X server to administer your web server.  On saving changes to your server, the tool seems to remove the following line from the httpd.conf file in the JRun settings portion:

    AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf

    Add that line back to the JRun section of your httpd.conf and then restart the httpd service and your system will be rendering cfm pages.

    ilssac
    Inspiring
    January 27, 2010

    My experience was ColdFusion 8, not ColdFusion 9 and on a Solaris 10 box not an OS X box.

    But we had to manually compile our web server connector code.  The one out of the box just would not work even though all the documentation said it should.  Following the instructions I found on line on how to manually compile the web server connector code worked just fine.  And it was pretty easy to follow and do even though I had never done anything like that before.

    HTH

    Ian

    Tim_BloomAuthor
    Participant
    January 27, 2010

    I tried to build it via the web connector utility though I got shot down by errors.  Then tried to do what it said to manually compile it, but ended with more errors, I'll look into that probably this weekend if nothing else works.

    I've enabled verbose logging and here's what I see as the last line in the spam from each request I make: jrun_service: no handler, return DECLINED

    ilssac
    Inspiring
    January 28, 2010

    I found this source to be one of the most helpful when I had to compile the web server connectors from the source.

    Compiling and Installing the Apache module for CFMX from source code

    http://www.zrinity.com/developers/apache/apache2cfmx.cfm

    As well as the "ApacheBuildInstructions.txt" file that is included in the src directory for the web server conector code and referenced in the above article.

    There is a typo of one of the command line instructions in that Build Instructions text file as I recall.  Paying attention to all of the lines and noticing how they are similar allowed me to spot it at the time, but I no longer recall the details.