Installing and deploying Macromedia ColdFusion MX

Before you can run ColdFusion applications, you must complete the following procedures to install and deploy ColdFusion MX to your application server:

  1. Installing the ColdFusion MX files
  2. Deploying ColdFusion MX on Sun ONE Application Server
  3. Running the startup wizard

Installing the ColdFusion MX files

This section discusses how to install the ColdFusion MX web application and installation documentation.

To install ColdFusion MX files:

  1. Ensure that your system environment meets the system requirements described in Chapter 1, "Introduction".
  2. Review the section "Installing ColdFusion MX for J2EE".
  3. Read the Release Notes for any late-breaking information or updates.
  4. Close any applications that are currently running on the computer to which you are deploying ColdFusion MX.
  5. If you have the ColdFusion MX for J2EE CD-ROM, insert the CD. Otherwise, download the installer file for your platform and locale from the Macromedia website or a designated network. The installer files for ColdFusion MX for J2EE are called coldfusion-j2ee-win.exe for Windows and coldfusion-j2ee-solaris.bin for Solaris.
  6. Start the installation program. Do one of the following, depending on your operating system:
    System
    Procedure
    Windows
    Double-click the installer file.
    Solaris
    Set the working directory to the directory that contains the installer file.
    In GUI mode (you must have XWindows Display configured), enter the installer file for your operating system, followed by the -i gui switch; for example:
    ./coldfusion-j2ee-solaris.bin -i gui
    
    
    In console mode, enter the installer file, followed by the -i console switch; for example:
    ./coldfusion-j2ee-solaris.bin -i console
    
  7. Follow the instructions in the installation program. Use the following information to complete certain sections of the installation program:

    Note:   The installer creates the following log file: install_root/Macromedia_ColdFusion_MX_J2EE_InstallLog.log, where install_root is the directory that you specify when you install the ColdFusion MX files. If you contact Macromedia Technical Support for installation support, you must send them this log file.

Deploying ColdFusion MX on Sun ONE Application Server

This section describes how to deploy ColdFusion MX on Sun ONE Application Server.

To deploy ColdFusion MX:

  1. Ensure that the Sun ONE Admin Server is started.
  2. Deploy ColdFusion MX by issuing the following command in a console window:
    sunone_root/bin/asadmin deploy -u username -w password -H hostname 
    -p admin-server-port --type web --contextroot contextroot 
    --instance instance-name installpath/cfusion.war
    

    For example:

    asadmin deploy -u admin -w adminXYZ -H coltrane -p 4848 --type web --contextroot cfmx --instance server1 d:\temp\cfusion.war
  3. Stop the Sun ONE Application Server.
  4. Open the sunone_root/AppServer7/domains/domain1/servername/config/server.policy file in a text editor, comment out the restrictive permissions, and add permission java.security.AllPermission;, as shown in the following example:
    ...
    // Basic set of required permissions granted to all remaining code
    grant {
    permission java.security.AllPermission;
    /*
    permission java.lang.RuntimePermission  "loadLibrary.*";
    ...
    permission java.io.FilePermission  "${INSTALL_ROOT}${/}instances${/}-", "delete";
    */
    };
    
  5. (Optional) For enhanced performance, copy jikesw.exe (Windows) or the jikesw executable (UNIX) from cf_root/WEB-INF/cfusion/bin to the sunone_root/AppServer7/bin directory. On UNIX, you must also set execute permission for the jikesw executable (CHMOD +x jikesw).
  6. Start the Sun ONE Application Server.

Running the startup wizard

After you deploy ColdFusion MX, you run the startup wizard to configure ColdFusion MX. To run the startup wizard in your browser, enter the URL for the ColdFusion MX Administrator. The URL has the following form:

http://host:[port]/cf_context_root/CFIDE/administrator

for example:

http://localhost:81/cfmx/CFIDE/administrator

For more information on specifying the Administrator URL, see "Accessing the ColdFusion MX Administrator".

When you first access the Administrator, ColdFusion runs the startup wizard. You provide the following information in the wizard to configure ColdFusion:

When the wizard completes, login to the Administrator using the password specified in the install procedure. Successful login to the Administrator is a confirmation that the install procedure was successful. However, you must perform the tasks described in "Enabling specific ColdFusion MX functionality" before complete ColdFusion MX functionality is available.

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting

Version 6

Comments are no longer accepted for ColdFusion MX. ColdFusion 8 is the current version.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/6/Installing_CFMX_for_J2EE/install_SunOne72.htm