Coldfusion – Running the Application server separate from the Webserver with a Windows OS

Steps to create distributed coldfusion application server tied to a seperate IIS 
webserver:

Install and configure CF9 standalone application server on application server 
machine.

Install CF9 application server on webserver and configure it to use IIS, then 
stop and disable all codfusion services using the services
administration tool.

On the Application server open the file 
C:\ColdFusion9\runtime\lib\security.properties and Add the internal and external 
IP addresses
of the webserver here:
jrun.trusted.hosts=000.000.000.000,123.123.123.123

On the application server open the file 
C:\ColdFusion9\runtime\servers\coldfusion\SERVER-INF\jrun.xml
Locate the configuration section for class=”jrun.servlet.jrpp.JRunProxyService” name=”ProxyService”>

Ensure that the following attribute is false:
false

Ensure that the port attribute is set to 51011:
51011

On both servers open the file
C:\ColdFusion9\runtime\servers\coldfusion\SERVER-INF\jndi.properties and ensure that the value of java.naming.provider.url is set to localhost:2932
java.naming.provider.url=localhost:2932

Restart Coldfusion services on the application server.

Run the following program AS ADMINISTRATOR on the webserver:
C:\ColdFusion9\runtime\bin\wsconfig.exe

Remove the localhost connector and quit then run iisreset from an administrator
command prompt.

Run the following program AS ADMINISTRATOR on the webserver:
C:\ColdFusion9\runtime\bin\wsconfig.exe

Click Add and put the ip address of the application server under JRUN host and
check the box:
Configure web server for coldfusion 9 applications

Select OK and quit then run iisreset from an administrator command prompt.

Ports 51011 and 2932 must be open between both servers.

Leave a Reply

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