Macromedia colfusion mx 7 Manual

Descargar
Página de 72
22
Chapter 2:  Installing the Server Configuration
Switching from another web server
You can switch from an external web server to the built-in ColdFusion MX 7 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 7 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. If you are using Macromedia Dreamweaver, be sure to reconfigure any 
sites that you move from one server to another.
7.
Restart ColdFusion MX 7.
To switch to another web server, follow the instructions for the appropriate web server on your 
platform in 
.
Note: The installation wizard does not allow 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.