View comments | RSS feed
Contents > Installing and Using ColdFusion MX > Installing the Server Configuration > Using the built-in web server > Switching from another web server PreviousNext

Switching from another web server

You can switch from an external web server to the built-in ColdFusion MX web server without reinstalling, even if you did not select it during installation.

To switch from an external web server to the built-in web server:

  1. Back up the jrun.xml file.

    This file is in the cf_root\runtime\servers\default\SERVER-INF directory in Windows, and in the cf_root/runtime/servers/default/SERVER-INF directory on UNIX.

  2. Open the original jrun.xml file for editing.
  3. Locate the WebService service and set the deactivated attribute to false:
    <service class="jrun.servlet.http.WebService" name="WebService">
       <attribute name="port">8500</attribute>
       <attribute name="interface">*</attribute>
       <attribute name="deactivated">false</attribute>
    </service>
    
  4. Locate the ProxyService service and set the deactivated attribute to true:
    <service class="jrun.servlet.jrpp.JRunProxyService" name="ProxyService">
      <attribute name="activeHandlerThreads">8</attribute>
      <attribute name="minHandlerThreads">1</attribute>
      <attribute name="maxHandlerThreads">1000</attribute>
      <attribute name="mapCheck">0</attribute>
      <attribute name="threadWaitTimeout">20</attribute>
      <attribute name="backlog">500</attribute>
      <attribute name="deactivated">true</attribute>
    ...
    
  5. Save the file.
  6. Copy the CFM pages in your web root directory (including the CFIDE and cfdocs directories) to the ColdFusion MX cf_root/wwwroot directory, and use appropriate URL references (for example, http://localhost:8500/YourApp1/index.cfm). If you switch from the built-in web server to an external web server, you must copy the contents of the cf_root/wwwroot directory to your web server root.
  7. Restart ColdFusion MX.

To switch to another web server, follow the instructions for the appropriate web server on your platform in Configuring web servers.

Note: The installation wizard does not allows you to configure both an external web server and the built-in web server and in most cases, you do not enable both the built-in web server and an external web server. If you do, you must create web server directory mappings so that both web servers use the same web root.


Contents > Installing and Using ColdFusion MX > Installing the Server Configuration > Using the built-in web server > Switching from another web server PreviousNext

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

Version 6.1

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

Comments


jljackson said on Oct 22, 2003 at 8:41 AM :
I would find it helpful if you would provide instructions on how to switch from the built in server to an external server (specifically IIS).
jrunrandy said on Oct 22, 2003 at 8:39 AM :
You can find these instructions in the Configuring chapter: http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/config11.htm

There is also information in the Configuring and Administering ColdFusion MX book: http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/webservm.htm
rskrobe said on May 16, 2004 at 12:00 PM :
Only problem is that the latter of these document references in regards to IIS does not detail what needs to be in the xml proxy config area to ensure IIS connects. Since IIS uses default port 80 and the proxy config has port 51010, there's a gap in understanding how the two bind (jrun.xml and IIS's connects).

 

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

Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/install8.htm