Installing an EAR file or WAR files on UNIX

This section explains how to install the ColdFusion MX 7 J2EE configuration on UNIX. If you are updating an existing deployment of ColdFusion MX or ColdFusion MX 6.1 for J2EE, see Updating from ColdFusion MX or ColdFusion MX 6.1 for J2EE before you continue.

By default, the ColdFusion MX 7 J2EE installation places files in the /opt/cfmx7 directory. To install into a different directory, you must create that directory before you run the installation.

To install ColdFusion MX 7 on UNIX (J2EE configuration):

  1. Read the online version of the Release Notes for any late-breaking information or updates. For more information, see www.macromedia.com/go/proddoc_releasenotes.
  2. Ensure that your operating system meets the system requirements described on the Macromedia web site at www.macromedia.com/go/sysreqscf.
  3. Review the Installation considerations for UNIX and Installation considerations for all platforms.
  4. Determine and record environment information, as described in Preparing to install using the J2EE configuration.
  5. Determine the answers to the questions in the section Gathering information necessary to install ColdFusion MX 7.
  6. Log in as root.
  7. Copy the installation file that is appropriate for your platform and locale from the CD or Macromedia website, and save it to a directory on your local disk.

    The following are the installation files for supported J2EE configuration platforms:

  8. coldfusion-70-lin.bin
  9. coldfusion-70-sol.bin
  10. coldfusion-70-other.jar
  11. Using the cd command, go to the directory with the installation file.
  12. Start the installation with the following command:
    ./<filename> -i console
    

    The installation program starts.

    To use the coldfusion-70-other.jar file to install on a UNIX platform other than Solaris or Linux, enter the following command (for more information, see Installation considerations for UNIX):

    java_home/bin/java -jar coldfusion-70-other.jar -i console
    

    Note: To run the UNIX installer in GUI mode, type ./<filename> -i gui.

  13. Follow the prompts, and let the installation program run to completion.

    Caution: For security reasons, it is crucial that you do not use root for the runtime user.

  14. Deploy ColdFusion MX 7 and configure Java settings, as required by your application server. For more information, see ColdFusion MX 7 J2EE deployment and configuration.

    Note: If you deployed the rds.war file, and an error message indicates that RDS is not installed or not enabled, edit the rds.properties file to match the ColdFusion context root, restart the application server, and re-open the ColdFusion MX Administrator.

  15. Open the ColdFusion MX Administrator to run the Configuration Wizard.
  16. Configure and manage your system, as described in Configuring Your System.
  17. Code and test ColdFusion MX 7 CFM pages.

    Store CFM pages under the web application root (either cfusion-ear/cfusion-war or cfusion-war) and access these pages using a URL of the form http://hostname:portnumber/context-root/filename.cfm, as follows:

  18. hostname The machine name, IP address, or localhost.
  19. portnumber The port number used by your application server's web server.
  20. contextroot The context root for the ColdFusion MX 7 web application. For more information, see Context root.
  21. filename The directory path and file to display. The path is relative to the cfusion-war directory.
  22. For example, to display a CFM file located at /opt/jrun4/servers/myserver/cfusion-ear/cfusion-war/eisapp/index.cfm using the built-in JRun web server and a context root of cfmx, you specify the URL as http://localhost:8100/cfmx/eisapp/index.cfm.


View comments in LiveDocs