ColdFusion (2018 release) - Install JEE configuration

Note:

In this page, we discuss the installation of these engines:

  • EAP
  • Wildfly
  • WebSphere
  • Tomcat

In this document, each section starts with installing the application server and then discusses accessing ColdFusion on the server. The sections also list the jvm flags for the engines.

EAP

Install EAP

To install EAP, perform the following steps:

  1. Download the EAP 7.1 installer jar file to any location on your computer.

  2. Unpack the contents of the jar file. From the command line, enter the command:

    java -jar jboss-eap-7.1.0-installer.jar

  3. Choose the installation language and accept the license agreement.

    License agreement
    License agreement

    To proceed, click Next.

  4. Enter the path where EAP is to be installed.

    EAP installation directory
    EAP installation directory

    To proceed, click Next.

  5. Select the components to install.

    Select component
    Select component

    To proceed, click Next.

  6. Create an admin user The admin user can access EAP's administrative console.

    Create admin
    Create admin

    To proceed, click Next.

  7. Install the components.

    Component installation
    Component installation

    To proceed, click Next.

  8. Choose the appropriate runtime environment, default or advanced.

    For more information, see EAP installation guide.

    Configure runtime
    Configure runtime

    To proceed, click Next, and follow the on-screen instructions to install EAP.

Access ColdFusion on EAP

  1. Install ColdFusion in JEE and generate a WAR file.

    Formore information, see Install JEE configuration.

  2. Explode WAR and rename the folder to <filename>.war

    For example, name the file as cfusion.war. This name is also the context, which is required when accessing ColdFusion files. So, the context is cfusion.

  3. Place the folder cfusion.war inside the directory, [EAP Home]\standalone\deployments.

  4. Create a file named cfusion.war.dodeploy in the EAP directory where the cfusion.war folder was placed.

  5. If EAP is already running, it will automatically deploy ColdFusion. If EAP is not already running, restart EAP.

  6. To access the ColdFusion administrator on EAP, enter,

    http://{Machine IP or localhost or 127.0.0.1}:{Port on which EAP is running}/{context}/CFIDE/administrator

WildFly

Install WildFly

To install WildFly, perform the following steps:

  1. Download the WildFly 13 installer zip file to any location on your computer.

    Extract the zip archive to a directory on your computer, for example, c:\wildfly. 

    A new directory, for example,. C:\wildfly\wildfly-13.0.0.Final, containing the WildFly files will be created.

  2. Use the script <WildFly directory>\bin\standalone.bat to start the WildFly server.

  3. To check if WildFly is running properly, enter localhost:8080 on your browser.

Access ColdFusion on WildFly

  1. Install ColdFusion in JEE and generate a WAR file.

    Formore information, see Install JEE configuration.

  2. Explode WAR and rename the folder to <filename>.war

    For example, name the file as cfusion.war. This name is also the context, which is required when accessing ColdFusion files. So, the context is cfusion.

  3. Place the folder cfusion.war inside the directory, [WildFly Home]\standalone\deployments.

  4. Create a file named cfusion.war.dodeploy in the WildFly directory where the cfusion.war folder was placed.

    If WildFly is already running, it will automatically deploy ColdFusion. If WildFly is not already running, restart WildFly.

  5. To access the ColdFusion administrator on WildFly, enter,

    http://{Machine IP or localhost or 127.0.0.1}:{Port on which WildFly is running}/{context}/CFIDE/administrator

WebSphere

To deploy ColdFusion on WebSphere, perform the following steps:

  1. Launch WebSphere management console.

    Management console
    Management console

  2. To create an application, click New Application > New Enterprise Application.

    Create application
    Create application

  3. Upload the ColdFusion WAR file.

    Upload WAR
    Upload WAR

  4. Choose the type of installation:

    • Fast path
    • Detailed

    For more information, see Fast paths.

    Installation options
    Installation options

  5. Enter the installation options, for example, name of the directory to install the application, name of the application, and so on.

    Installation properties
    Installation properties

  6. Choose the server or cluster where you want to install the application.

    Map virtual host
    Map virtual host

  7. Map virtual host to servers.

    Map virtual host
    Map virtual host

  8. Enter the context root of the application. The default is /.

    Context root
    Context root

  9. Review the summary and click Finish.

    Summary of installation
    Summary of installation

  10. Restart the application server.

    Depending on installation (Network Deployment), verify the WebSphere installation directory, C:\IBM\WebSphere\AppServer\Profiles\[ProfileName]\installedApps\[cell]\[file_war.ear]\[filename.war]

  11. Access ColdFusion server at https://localhost:[Port number]/[context]/CFIDE/administrator.

Tomcat

  1. Copy the war file in webapps folder of Tomcat.

  2. Start Tomcat. The war auto explodes.

  3. The context name is the name of the war file_war.

  4. Use the default Tomcat port 8080.

  5. Access ColdFusion server at localhost:[Port number]/[context]/CFIDE/administrator.

JVM flags

The following JVM flags need to be set when deploying ColdFusion applications on the JEE servers.

JEE Server

Flag

EAP, WildFly, WebSphere, WebLogic, Tomcat

Djava.locale.providers=COMPAT,SPI

EAP, WildFly, WebSphere, WebLogic, Tomcat

Dcoldfusion.disablejsafe=true

EAP, WildFly, WebSphere, WebLogic, Tomcat

-Djdk.attach.allowAttachSelf=true

EAP, WildFly, WebSphere, WebLogic, Tomcat

-Djdk.serialFilter= !org.mozilla.**;!com.sun.syndication.**

 Adobe

Get help faster and easier

New user?