Adobe Solution Partner

March 2, 2007

ColdFusion MX7 and Apache

Filed under: ColdFusion, Linux — Tags: , — Tyson Vanek @ 3:31 pm

I was contacted directly this week by a new customer who was looking for assistance with a ColdFusion MX installation and configuration. More specifically, the customer was experiencing difficulties while trying to install ColdFusion MX with Apache web server on a Windows development box. The customer indicated that he had successfully installed Apache web server and it was working. He had then proceeded through the ColdFusion MX installation. He had been attempting to install the developer’s server version in stand-alone mode but configured with Apache instead of ColdFusion’s built-in web server. He explained to me that after the ColdFusion installation completed, he was unable to get into the CF administrator interface. Upon closer inspection, he realized he was unable to get to the page because Apache had failed to start properly once ColdFusion had been installed. Apparently the configuration settings that ColdFusion had attempted to make to Apache via the web server configuration tool had left Apache in an “unable to start” state.

As I spoke with this customer on the phone, I remembered that I had also experienced similar issues quite some time ago when attempting the very same installation on my development laptop. I distinctly remembered having to fall back to a slightly older version of Apache web server in order to get ColdFusion properly configured. Once my memory had been jogged, I asked him what version of ColdFusion and Apache he was attempting to install. His answer – ColdFusion 7.0.2 and Apache 2.2.4. Based on my own experience I suggested that he uninstall ColdFusion and Apache 2.2.4, download and install Apache 2.0.59 (the version I am running on my development environment), and attempt the ColdFusion server installation once more. I was fairly confident that this installation would complete successfully for him since it mirrored my own running configuration, but I suggested that he could also simply install ColdFusion with its built-in web server in order to just get ColdFusion functioning and answering requests. I fired off a summary email with my contact information and wished him luck.

Later that evening, the customer emailed me with an ecstatic, heart-felt thanks. After an entire week of struggling, he had finally managed to get his development server running properly with a combination of ColdFusion MX 7.0.2 and Apache 2.0.59, as I had suggested to him.

But after reading his email, I began thinking that there simply must be a way to get ColdFusion running with the latest version of Apache. Certainly there had to be a better answer than falling back to an old version of Apache, right? A quick Google search on coldfusion “apache 2.2.4″ indicated that this was not the first time someone had experienced this installation problem. After spending some time reading through many of the results on Google, I happened upon the following pieces of information which may prove useful to any of you out there who may be struggling with the same installation.

First, I found a TechNote Knowledge Base article directly on Adobe’s web site indicating that there is a hotfix available for ColdFusion 7.0.1 and 7.0.2 which is supposed to address the configuration issues with Apache 2.2.

  • Adobe Hotfix for ColdFusion 7.0.1/7.0.2 and Apache 2.2
  • When I found the Adobe hotfix, I assumed that was the end of my search – problem solved. Wrong.

    I kept crawling through Google, and through a chain of blogs and mailing list archives I found a blog post by Matt Woodard. He wrote about the issue as well, and referenced using the Adobe hotfix, but with a slight twist on the procedure.

  • Matt Woodward’s blog on ColdFusion 7.0.2 and Apache 2.2
  • And then as I read through the trail of comments posted in response to Matt’s blog, I quickly realized that people were still having issues with this install configuration. Apparently, the hotfix was not a fix for everyone. I found a link to an exhaustive forum thread on Adobe outlining the challenges people were having while attempting to apply this hotfix.

  • Adobe Forums Thread: CFMX 7 installation problem
  • At the end of it all, I have the following advice for anyone out there attempting to configure ColdFusion with Apache. If you go through the Adobe TechNote and Matt Woodward’s post and are still having trouble getting ColdFusion and Apache 2.2.x to play nicely together, I would suggest falling back to a slightly earlier version of Apache – specifically Apache 2.0.59.

    If you’ve been dealing with your own ColdFusion/Apache installation configuration issue or have had success with a solution of your own, please feel free to share your experiences.

    Share and Enjoy:
    • Digg
    • del.icio.us
    • Facebook
    • Google Bookmarks
    • LinkedIn
    • StumbleUpon
    • Technorati
    • TwitThis

    4 Comments »

    1. Well, were just about to play with CFMX 7.02 and Apache 2.2 on a new Soalris 10 zone we’ve just built, so I’ll let you know what happens.

      Comment by James Holmes — March 3, 2007 @ 12:00 am

    2. Blasted thing.
      Updated Apache to 2.2 on an important machine, and spent almost a day installing and reinstalling things. Good job I found this blog! Installed the hotfix, and as recommended didn’t put the Apache exe file in under Advanced, it then worked like a charm.

      Comment by David J — March 15, 2007 @ 12:00 am

    3. great!!! Thanks…spent the better part of tonight looking for a solution!

      Comment by Yuri Visser — May 10, 2007 @ 12:00 am

    4. Amazing work, really saved me a lot of hassle this. Thanks guv.

      Comment by Steve Chandler — May 23, 2007 @ 12:00 am

    RSS feed for comments on this post. TrackBack URL

    Leave a comment

     

    Server Down?

    Maximize Web application uptime by drawing upon Webapper's years of experience tuning and stabilizing many of the world's largest ColdFusion Web applications. Contact us today!