Managing ColdFusion MX

The ColdFusion MX installation creates a few services in Windows and a single process on UNIX. The following sections describe how to manage them:

Managing ColdFusion MX services in Windows

This section describes the ColdFusion MX services and explains how to manage them. It also describes how to run ColdFusion MX in Windows 98/ME, which does not use services in its architecture.

Overview of services

The ColdFusion MX installation creates the following services in Windows NT, Windows 2000, Windows XP:
Service
Purpose
ColdFusion MX Application Server
The main ColdFusion service. ColdFusion pages cannot be processed if this service is not running.
ColdFusion MX ODBC Agent
The service used to configure data sources for the ColdFusion MX ODBC Server.
ColdFusion MX ODBC Server
The middle-tier service for ODBC connections that use the ColdFusion MX DataDirect drivers for Microsoft Access and ODBC Socket.

Starting and stopping services

In the ColdFusion Administrator, if you enable or disable security or change any option in the Java and JVM Settings page, you must stop and restart ColdFusion MX for your changes to take effect.

To start or stop a ColdFusion service:

  1. Open the Services dialog box:
  2. Do one of the following:

To set ColdFusion MX to start automatically or manually:

  1. Open the Services dialog box:
  2. Do one of the following:
  3. Select one of the following options in the Startup Type frame or drop-down list box:
  4. Click OK.

Running ColdFusion MX in Windows 98/ME

Since Windows 98 and Windows ME do not have a services architecture, ColdFusion MX runs as executable files. The following table describes these executable files:
Executable file
Purpose
ColdFusion Application Server
The main ColdFusion program. ColdFusion pages cannot be processed if this program is not running.
ColdFusion RDS
The program that provides security, directory and file browsing, and debugging services for Remote Development Services (RDS), which lets you access ColdFusion MX from Dreamweaver MX, HomeSite+, and ColdFusion Studio.

When ColdFusion MX is running, two icons appear in the task bar. To stop the ColdFusion Application Server executable, right-click the IDE service icon and select Stop. To run ColdFusion MX at startup, place a shortcut for the ColdFusion MX icon in the Startup program group. For instructions, see the Windows online Help.

Managing the ColdFusion MX process on UNIX

This section describes the ColdFusion MX process and explains how to manage it.

Overview of the ColdFusion MX process

The ColdFusion MX installation creates a single process on UNIX called cfusion. To check whether it is running, use the following command:

ps -eaf | grep cfusion

If it is running, your computer returns something similar to the following line:

nobody 4528 1 10 12:44 pts/0 00:00:07 /opt/coldfusionmx/runtime/bin/cfusion -start 

Managing the process

The ColdFusion MX process starts automatically when you start your computer and shuts down automatically when you shut down your computer.

In various situations, you might choose to manually stop and start or restart the ColdFusion MX process. However, if you enable or disable security or change any option in the Java and JVM Settings page in the ColdFusion Administrator, you must stop and restart ColdFusion MX for your changes to take effect.

To manage the ColdFusion MX process on UNIX:

  1. Log in as root, if you have not already done so.
  2. Enter the following command:
    cd cf_root/bin
    
  3. Enter the appropriate command for what you need to do, as described in the following table:
    Task
    Command to enter
    Start ColdFusion MX
    coldfusion start
    
    Stop ColdFusion MX
    coldfusion stop
    
    Restart ColdFusion MX
    coldfusion restart
    
    View performance information for ColdFusion MX
    coldfusion status
    

Comments