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:
Back up the jrun.xml file.
1
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.
Open the original jrun.xml file for editing.
2
Locate the WebService service and set the
3
<service class="jrun.servlet.http.WebService" name="WebService">
<attribute name="port">8500</attribute>
<attribute name="interface">*</attribute>
<attribute name="deactivated">false</attribute>
</service>
Locate the ProxyService service and set the
4
<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>
...
Save the file.
5
Copy the CFM pages in your web root directory (including the CFIDE and cfdocs directories)
6
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.
Restart ColdFusion MX.
7
To switch to another web server, follow the instructions for the appropriate web server on your
platform in
Chapter 4, "Configuring web servers," on page
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.
28
Chapter 2: Installing the Server Configuration
attribute to false:
deactivated
attribute to true:
deactivated
53.
Need help?
Do you have a question about the COLDFUSION MX 61 - INSTALLING AND USING COLDFUSION MX and is the answer not in the manual?
Questions and answers