Distributed ColdFusion MX and IIS

The facts:
– ColdFusion (CF) installed on server 10.0.0.1 (server 1)
– IIS installed on server 10.0.0.2 (server 2)
– Both server will be distributed.

Step by step tutorial:

  1. Install ColdFusion on server 1 with option: built in web server.
  2. Install IIS and JRE version <= 1.4 on server 2.
  3. Copy cf_rootruntimelibwsconfig.jar from server 1 into server 2. Copy to any folder.
  4. Excute file wsconfig.jar: java.exe -jar C:wsconfig.jar -ws IIS -site “0” -map .cfm,.cfc,.cfml,.jsp -v -host 10.0.0.2 -server coldfusion -coldfusion
  5. Copy cf_root/wwwroot/CFIDE folder from server 1 into web root directory server 2.
  6. Execute: http://localhost/CFIDE/administrator/index.cfm on server 2.
  7. In ColdFusion MX Administrator, choose Server Settings > Mappings, and add mapping “/” direct to new web root directory on server 2 (eg. C:/Inetpub/wwwroot). This directory must exists on both servers. Create the directory if it doesn’t exist.
  8. Edit C:/CFusionMX7/runtime/servers/coldfusion/SERVER-INF/jrun.xml file and change: <attribute name=”deactivated”>false</attribute> become <attribute name=”deactivated”>true</attribute>, similar to the following: <service name=”WebService”>
    <attribute name=”port”>8500</attribute>
    <attribute name=”interface”>*</attribute>
    <attribute name=”deactivated”>true</attribute>
  9. Restart CF service.
  10. Finish.

Leave a Reply

Your email address will not be published. Required fields are marked *