July 2, 2015
Setting up ColdFusion in distributed envionment
Comments
(3)
July 2, 2015
Setting up ColdFusion in distributed envionment
Newbie 32 posts
Followers: 3 people
(3)

You might want to set up ColdFusion in a distributed environment where ColdFusion is running on one machine and Web server is running on a different machine.

Following are the set of steps that have to be performed to achieve this (less error-prone):

This applies generally to both ColdFusion 10 and ColdFusion 11 and beyond.

1) Have ColdFusion server installed in a machine (machine 1).

2) On machine with web server (machine 1), download and install VC Runtime if not already installed.

– The version of VC Runtime that you have to install depends on the version of ColdFusion.

Say, ColdFusion 11 needs VC Runtime 2012

(32-bit VC Runtime for 32-bit Web server and 64-bit VC Runtime for 64-bit Web server.

If you are not sure, you can install both)

(https://www.microsoft.com/en-in/download/details.aspx?id=30679)

and ColdFusion 10 needs VC Runtime 2010

3) Copy the following contents from the machine 1 (where ColdFusion is running) to machine 2 (where the Web server is running), and place them in the same location on machine 2.

C:\ColdFusion11\jre (directory)

C:\ColdFusion11\runtime\lib\wsconfig.jar

C:\ColdFusion11\runtime\conf\server.xml

C:\ColdFusion11\config\instances.xml

C:\ColdFusion11\config\cluster.xml

4) Open a Command prompt on machine 2 and run the CF wsconfig tool:

C:\ColdFusion11\jre\bin\java -jar cfusion\runtime\lib\wsconfig.jar

It will open a configuration window where you have to provide AppServer Host as the ColdFusion Server IP or machine name.

Configure the connector, which will restart the web server.

Distributed environment is ready for use. Send requests to the Web server’s URL with cfm files under web server root and same files under ColdFusion’s Web root.

Web server would redirect these to ColdFusion, which is on some other machine.

3 Comments
2017-08-14 12:05:12
2017-08-14 12:05:12

Hello,
Can you update this thread for CF2016? Can you include the tomcat server.xml edit syntax details where the CF instance is remote for vertical cluster?
Thanks, Carl.

Like
2017-03-31 04:33:55
2017-03-31 04:33:55

What part does the VC Runtime 2012 do for ColdFusion 11 with this process?

Like
2016-09-29 17:22:15
2016-09-29 17:22:15

How do you configure ColdFusion 2016 WebSockets in distributed mode when ColdFusion is configured to “Use Proxy” (in IIS or other)?

Like
Add Comment