Whatterz


Installing ColdFusion 8 on Vista

by Simon. Average Reading Time: about 4 minutes.

A few months ago I posted an article on Installing Apache on Vista, and it proved to be extremely popular. It appears that I was not the only one who found it a non trivial matter.

Now it is the turn of ColdFusion 8. ColdFusion 8 as we well know is the latest and greatest incarnation of the ColdFusion platform from Adobe. It has a lot of great new features such as cfimage, cfzip, cfexchange, some contentious features such as cfthread and cfinterface, and some not-so-necessarily-cool new “Web 2.0” features such as cffeed and cfajax. But since this article isn’t about any of these, I better stick to the topic.

Like my article on installing Apache, installing ColdFusion on Vista is again not a trivial matter and involves only what can colloquially described as a “shed load of steps”. I’m probably being a little harsh towards ColdFusion as many of the problems I encountered were more closely related to Apache than ColdFusion.

NB: This article will assume that you have pre-installed Apache (although you could use IIS if so compelled), turned off Vista’s User Account Control (UAC), disabled any firewalls you have installed and finally, but most importantly, you have downloaded ColdFusion from the Adobe website.

Let us begin.

  1. Find where you downloaded your copy of the ColdFusion Installer. Right-click on the executable file and specify to “Run as Administrator”. The installer should start and you should see the screenshot below. Select “English”, or which ever your language preference is, and Click “OK”.

    1. ColdFusion Installer

  2. The ColdFusion Installation progress screen may or may not be briefly displayed.

    2. ColdFusion Installation Progress

  3. The Introduction screen will be displayed. Click “Next”.

    3. Introduction Screen

  4. The License Agreement screen will then be displayed. Agree to the “I accept the terms of the License Agreement” and Click “Next”.

    4. License Agreement

  5. The Install Type screen is then displayed. You don’t need to enter a serial number unless you are installing this into a production environment. Check “Developer Edition” and Click “Next”.

    5. Install Type

  6. The Installer Configuration screen should be displayed. Since we already have Apache 2.x installed as our web server (if you want to use IIS, you will need to skip steps 11.1 and 11.2), check “Server configuration” and Click “Next”.

    6. Installer Configuration

  7. The Sub-component Installation screen should be displayed. This is one of the noticeable changes from version 7 to version 8 of ColdFusion. Hovering your mouse over each sub-component will describe in more detail what each sub-component does. If you plan to integrate .NET (especially with WebServices) or carry out Flex development then make sure that the “.NET Integration Services” and “LiveCycle Data Services” items are checked. For simplicities sake, check everything and Click “Next”.

    7. Sub-component Installation

  8. The Select Installation Directory screen should be displayed. The default directory for a Serverconfiguration will be “C:\ColdFusion8” on a Windows machine. Click “Next” to continue.

    8. Select Installation Directory

  9. As you have chosen to install LiveCycle Data Services, you will need to agree to a further Licence Agreement screen. Click “Next”.

    9. Licence Agreement (LiveCycle Data Services)

  10. The Adobe Livecycle Data Services ES Installation screen is displayed. You will need to enter a serial number into this screen for production environments. Since I am going to assume a development environment, simply click “Next”.

    10. Adobe Livecycle Data Services ES Installation

  11. The Configure Web Servers / Websites screen should be displayed. This is the point where we want to connect ColdFusion with Apache. By default “Configure web server connector for ColdFusion” is checked. We need to add Apache so Click “Add”.

    11. Configure Web Servers / Websites

    1. The Add Web Server Configuration screen is displayed, choose Apache from the drop-down.
    2. Add the relevant Apache directory paths, e.g.:

      11-2. Add Web Server Configuration (Directory Paths)

      1. The Configuration Directory C:\Program Files\Apache Software Foundation\Apache2.2\conf
      2. The Server Binary Directory C:\Program Files\Apache Software Foundation\Apache2.2\bin\httpd.exe
  12. The Review Configured Web Server screen is then displayed. If all the settings are correct, click “Next”.

    12. Review Configured Web Server

  13. The Choose Adobe ColdFusion 8 Administrator Location screen should be displayed. Since we are using Apache for our web server then the default Directory should be pointing to C:\Program Files\Apache Software Foundation\Apache2.2\htdocs. You can alternatively point this to C:\WebRoot or wherever you have set up your web project files. Select “Next”.

    13. Choose Adobe ColdFusion 8 Administrator Location

  14. The Adminstrator Password screen is then displayed, prompting for a password. Enter one, remember it (!!) and click “Next”.

    14. Adminstrator Password

  15. The Enable RDS & Password screen is then displayed. If you want to use this, check the box and provide an additional password. Don’t use RDS in a production environment. Click “Next”.

    15. Enable RDS & Password

  16. The Pre-Installation Summary screen is then displayed, detailing your configuration. This is your last chance to go back and make changes. If everything is OK, click “Install”.

    16. Pre-Installation Summary

  17. The Installing Adobe ColdFusion 8 screen is then displayed, showing a host of marketing messages.

    17. Installing Adobe ColdFusion 8

  18. The Please Wait screen is displayed, and be prepared to wait!

    18. Please Wait

  19. The Installation Complete screen is finally displayed and indeed the installation is complete. Now for the configuration! Click “Done”.

    19. Installation Complete

  20. Configuration and Settings Migration Wizard. Open up a browser and enter the url http://localhost/CFIDE/administrator/index.cfm to begin the ColdFusion 8 Configuration and Settings Migration Wizard. Enter your password and Click “Login”.

    20. Configuration and Settings Migration Wizard

  21. ColdFusion will now begin Configuring Server, which could take any number of minutes to complete.

    21. Configuring Server

  22. Once the Configuration Complete is displayed, you can login to the ColdFusion Administrator and start working, or playing, with the new interface, settings and Server Monitor.

    22. Configuration Complete

So, that only 22 steps! That may be the longest installation process you may go through, but the power now at your finger tips to produce hugely interactive websites is a compelling reason why to choose this version of ColdFusion, or indeed ColdFusion over other products.

This article has been tagged

, , , , , , , , , , , , ,

Other articles I recommend

Installing Apache on Vista

Following the purchase of a spangly new Toshiba laptop running Vista, and not one for making life simple, I decided not to run my development environment on IIS7, but rather, I wanted to install the latest version of Apache. The installation process was not a trivial matter!

Configuring ColdFusion 8 with Apache

After installing ColdFusion 8 and Apache successfully you may still see an “HTTP 500 Internal Server Error” when navigating to a ColdFusion page. All is not lost, you simply need to configure, or check the configuration of Apache. Apache requires very little post installation modification, but it is always good practice to check the httpd.conf file to ensure that the ColdFusion “install” scripts did what they were supposed to do.

Configuring Your First Local Apache Website

Apache is controlled by a series of configuration files but the one we will be dealing with here is httpd.conf. This file contains instructions on how Apache should run. Several companies offer GUI-based Apache front-ends, but it’s easier to edit the configuration files by hand.

  • If you’re running Apache and ColdFusion Developer edition and developing multiple projects you definitely want to look at using the Multi-server installation of CF. That way you get a shiny clean instance of CF for each project with no bleed over.

  • Wayne

    Thanks, very helpful.
    Great website you have!

  • Scott Smith

    I am running Vista Business with the latest Windows updates installed, and I am unable to install ColdFusion 8. When I launch the Coldfusion-8-win.exe downloaded from Adobe, I incur a fatal application error: “java.lang.NoClassDefFoundError: Could not initialize class javax.swing.UIManager”

  • @Scott Have you installed the latest version of Java on your machine? If so, make Sure that your .class file is in your library; you can check by navigating folders jdk1.X—>lib—> or else you have to set class path; set class path in your cmd prompt:

    C:\> set classpath=%classpath%; C:\jdk1.6\lib; for windows

  • SOCASH

    Thanks foR the installation tutotorial!!!

    I have a problem in the step 20, the browSer don’t open the Configuration
    Wizard, it ask me if a would open the index.cfm file with dreamweaver why?

    I made something wrong???

    thanks in advance.

    SOCASH

  • @socash you need to make sure the default file, index.cfm, is correctly referenced in the Apache configuration file (httpd.conf). e.g.:

    <IfModule dir_module>
        DirectoryIndex index.html index.cfm index.php
    </IfModule>
  • SOCASH

    Thank you very much Simon for you quickly reply & your great anwer!!!!

    You have a great website…

  • Davo

    I get the following message:

    Server Error in Application “Default Web Site”

    ——————————————————————————–

    HTTP Error 500.0 – Internal Server Error
    Description: Handler “AboMapperCustom-17149517” has a bad module “IsapiModule” in its module list

    Error Code: 0x8007000d

    Notification: ExecuteRequestHandler

    Module: IIS Web Core

    Requested URL: http://127.0.0.1:80/CFIDE/administrator/index.cfm

    Physical Path: C:\inetpub\wwwroot\CFIDE\administrator\index.cfm

    Logon User: Anonymous

    Logon Method: Anonymous

    Handler: AboMapperCustom-17149517

    please help!

  • bala

    I have installed CF server 8 on my computer running windows xp media center edition.
    The service is running.I also have IIS installed.When i try to access the CF administrator
    ,i get an Server Application Error.

    Would like to know how to resolve this issue.

    Thanks.
    bala

  • Simon, thanks for the simple to follow tutorial (and the awesome screenshots). You saved me a bunch of headaches.

  • Paul

    Lots of people are having problems installing CF8 on Vista SP1 (ODBCs wont connect). After hours of searching I’ve found several different resolutions (different ones work for different people!).

    https://www.blogger.com/comment.g?blogID=8902741043153755588&postID=2834270011707732057&page=1

    http://groups.google.com/group/macromedia.coldfusion.getting_started/browse_thread/thread/877babab589240f4/ce4215cdbfb80f5a

    It was the simplest on that worked for me .. commenting out an erroneous entry in the Hosts file:

    Fix: The c:\windows\system32\drivers\etc\hosts file has a bizarre entry:

    ::1 localhost

    Comment it out using notepad run as administrator like so.

    #::1 localhost

    Reinstall. Done.

  • Hello Simon and all,

    Have visited your site quite a lot and have found it to be extremely easy to follow/comprehend/helpful etc which has helped me work through a lot of issues that have cropped up.

    This one I should have been able to work out myself but have not??

    Built myself a new box and am reinstalling everything (Apache 2.2, SimpleDNS, MySQL, hHMail server Ipswitches WS_FTP, ALL of the Adobe CS4 products ‘phew’, anyhow a lot going on in this box.

    My intent is to initially use this box as both development and production and then just a production server

    I have 2 problems that I need help on….

    The first thing when trying open the admin page I get page not found…..I should point out I am behind a DSL router where my actual static IP lives and have IPMapping enabled forwarding all port action to internal ip of 192.168.1.4. My auth DNS is dotster and I am running SimpleDNS internally and when finished will become authorative for my domains.

    I am installing all into windows7; I installed apache 2.2 fine and then installed CF8 Ent fine (or at least I thought so) I put the admin index into my web folder c:www/CFIDE/administrator/index.cfm assuming the URL http://127.0.0.1/CFIDE/administrator/index.cfm would open the admin page. I do have index.cfm in httpd.conf

    The 2nd thing is I Apache stopped. the event viewer gave

    The Apache service named reported the following error:
    >>> httpd.exe: Could not reliably determine the server’s fully qualified domain name, using 192.168.1.4 for ServerName

    In httpd.conf I have ServerName as 65.12.174.156:80 also tried webfuse.net:80, *:80 and just 80 with no apparent change??. Also my doc root is c:WWW

    Not sure what I’m not sharing or missing here…ANY help will be more than appreciated.

    Chuck In Atlanta