![MACROMEDIA COLDFUSION MX 61 - CONFIGURING AND ADMINISTERING COLDFUSION... Скачать руководство пользователя страница 28](http://html1.mh-extra.com/html/macromedia/coldfusion-mx-61-configuring-and-administering-coldfusion/coldfusion-mx-61-configuring-and-administering-coldfusion_using-manual_3296392028.webp)
28
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 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
Chapter 4, “Configuring web servers,” on page 53
.
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.
Содержание COLDFUSION MX 61 - CONFIGURING AND ADMINISTERING COLDFUSION...
Страница 1: ...Installing and Using ColdFusion MX...
Страница 6: ...6 Introduction...
Страница 30: ...30 Chapter 2 Installing the Server Configuration...
Страница 48: ...48 Chapter 3 Installing the J2EE Configuration...
Страница 70: ...70 Index...