Define a server instance

  1. Ensure that you installed ColdFusion using the multiserver configuration.

  2. Open the ColdFusion Administrator for the cfusion server in a browser (http://hostname:8300/CFIDE/administrator).

  3. Select Enterprise Manager > Instance Manager.

  4. Click Add New Instance.

  5. Specify the following in the Add New ColdFusion Server area:

    • Server name

    • (Optional) Directory that contains the server instance. The ColdFusion Administrator fills in the default automatically (jrun_root/servers/servername).

    • (Optional) Create from EAR/WAR. If you use the J2EE Packaging feature to create a J2EE archive file with your application files (including CFM, CFC, and CFR files) and data sources, use this field to specify the EAR or WAR filename and create a server instance with your application deployed automatically.

    • (Optional, Windows only) Specify whether to create a Windows service for the server instance and whether to define the Windows service with an auto restart recovery option.

  6. Click Submit.

    The ColdFusion Administrator creates a server instance with ColdFusion deployed in it and starts the server instance. The ColdFusion application that it deploys is based on the application archive file specified in the Create from EAR/WAR field or on the cfusion server instance (if you don’t specify an EAR or WAR file).

    Creating a JRun server instance and deploying the ColdFusion application can take a few minutes.

  7. Click Return to Instance Manager.

You can also start and stop the server instance using the JMC, the JRun Launcher, or the command line (jrun_root/bin jrun start|stop ‑‑servername).