September 29, 2022
COLDFUSION IN DISTRIBUTED ENVIRONMENT (WINDOWS)
Comments
(0)
September 29, 2022
COLDFUSION IN DISTRIBUTED ENVIRONMENT (WINDOWS)
Staff 6 posts
Followers: 0 people
(0)

ColdFusion in distributed environment (Windows) – Updating for CF2021 and CF2023.

On IIS Server:

  • Install IIS Roles and components:

Ensure that, all of the below IIS features are enabled:

  • NET
  • CGI
  • ISAPI Extensions
  • ISAPI Filters

  • Install Visual C++ Redistributable for Visual Studio 2012 (x64) from the below link:

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

  • Copy the following from ColdFusion server to IIS server: (<version> would be 2021 or 2023 based on your ColdFusion installation). Create the similar directory structure as in ColdFusion server.

C:\ColdFusion<version>\jre (directory)

C:\ColdFusion<version>\cfusion\runtime\lib\wsconfig.jar

C:\ColdFusion<version>\cfusion\runtime\lib\config.properties

C:\ColdFusion<version>\cfusion\runtime\conf\server.xml

C:\ColdFusion<version>\config\instances.xml

C:\ColdFusion<version>\config\cluster.xml

C:\ColdFusion<version>\cfusion\wwwroot\WEB-INF\web.xml (Applicable for ColdFusion 2021 and ColdFusion 2023)

  • Open a Command prompt, as Administrator on IIS Server and run the CF wsconfig tool:

C:\ColdFusion<version>\jre\bin\java -jar cfusion\runtime\lib\wsconfig.jar

  • Create a sample cfm file and place in files under IIS web server root and the same files under ColdFusion’s Webroot. Send requests to the Web server’s URL.

Distributed environment is ready for use. The web server would redirect these to ColdFusion, which is on some other machine.

0 Comments
Add Comment