Adobe
Products

Top destinations

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst
  • Students
  • Elements family

Adobe Creative Cloud

  • What is Adobe Creative Cloud?
  • Design
  • Web
  • Photography
  • Video
  • Students
  • Teams
  • Enterprise
  • Educational institutions

Design and photography

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom

Video

  • Adobe Premiere
  • After Effects

Web development and HTML5

  • Edge Tools & Services [opens in a new window]
  • Dreamweaver
  • Gaming [opens in a new window]

Adobe Marketing Cloud

  • What is Adobe Marketing Cloud?
  • Digital analytics
  • Social marketing
  • Web experience management
  • Testing and targeting
  • Media optimization

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Target

  • Test&Target
  • Recommendations
  • Search&Promote

Media Optimizer

  • AdLens
  • AudienceManager
  • AudienceResearch

Document services

  • Acrobat
  • EchoSign [opens in a new window]
  • FormsCentral [opens in a new window]
  • SendNow [opens in a new window]
  • Acrobat.com [opens in a new window]

Publishing

  • Digital Publishing Suite

  • See all products
Business solutions

By business need

  • Digital analytics
  • Digital publishing
  • Document management
  • Media optimization
  • Social marketing
  • Testing and targeting
  • Video editing and serving
  • Web development [opens in a new window]
  • Web experience management
  • See all business needs

By industry

  • Broadcast
  • Education
  • Financial services
  • Government
  • Publishing
  • Retail
  • See all industries
Support & Learning

I need help

  • Products
  • Adobe Creative Cloud
  • Adobe Marketing Cloud
  • Forums [opens in a new window]

I want to learn

  • Training and tutorials
  • Certification [opens in a new window]
  • Adobe Developer Connection
  • Adobe Design Center
  • Adobe TV [opens in a new window]
  • Adobe Marketing Center
  • Adobe Labs [opens in a new window]
Download
  • Product trials
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • See all downloads
Company
  • Careers at Adobe
  • Investor Relations
  • Newsroom
  • Privacy
  • Corporate Social Responsibility
  • Customer Showcase
  • Contact us
  • More company info
Buy
  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers
  • Adobe Marketing Cloud sales [opens in a new window]
Search
 
Info Sign in
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Welcome,
My Adobe
My orders
My information
My preferences
My products and services
Sign out
My cart
Privacy My Adobe
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out Privacy My Adobe
Preorder Estimated Availability Date. Your credit card will not be charged until the product is shipped. Estimated availability date is subject to change. Preorder Estimated Availability Date. Your credit card will not be charged until the product is ready to download. Estimated availability date is subject to change.
Qty:
Purchase requires verification of academic eligibility
Subtotal
Promotions
Estimated shipping
Tax
Calculated at checkout
Total
Review and Checkout
Adobe Developer Connection / ColdFusion Developer Center /

Manually configuring Internet Information Services 7 connector with ColdFusion

by Asha K S

Asha K S
  • Adobe

Content

  • Before starting
  • Step 1: Configuring the proxy service property in jrun.xml
  • Step 2: Creating a directory space in ColdFusion server for IIS
  • Step 3: Setting up the web server configuration properties
  • Step 4: Configuring Web Server IIS 7
  • Where to go from here

Created

25 April 2011

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
ColdFusion Builder 2configurationdistributionsecurity
Was this helpful?
Yes   No

By clicking Submit, you accept the Adobe Terms of Use.

 
Thanks for your feedback.

Requirements

Prerequisite knowledge

You should have some understanding of setting up a distributed environment and understand the reasons for setting up such an environment for your technical and business needs.

 

Additional required other products

  • Microsoft Internet Information Services 7

User level

Intermediate

Required products

  • ColdFusion (Download trial)

ColdFusion can be set up in a distributed environment, meaning that the ColdFusion is on a different physical machine than the web server. In a distributed environment, the connector is installed on the server hosting the web server and this server sends the request across the network to the remote server hosting ColdFusion .

ColdFusion comes with a Web Server Configuration Tool for connecting to external web servers. Usually, you copy the wsconfig.jar file to the web server machine and run the web server in a configuration where it refers to the remote server hosting ColdFusion. There may be occasions, however, when the Web Server Configuration Tool doesn't work properly, for example, due to a firewall or network security restrictions. Should this happen, you can still configure the connector manually. This article demonstrates the steps required for manually configuring connections to Internet Information Services 7 websites in a distributed environment.

Before starting

The ColdFusion Standalone server can only connect to one web server at a time and does so through a proxy port. The default proxy port is 51011 in ColdFusion.

In all of the configurations below, replace cf_root with the actual ColdFusion installation directory, typically C:\ColdFusion9 for Windows and /opt/ColdFusion9 on Unix if you used the default settings during installation.

Before you begin the steps below, copy the cf_root\runtime\lib\wsconfig.jar file from the machine where ColdFusion is installed to the web server machine. You must use the wsconfig.jar file in Step 4 when you have to extract the appropriate web server modules from the JAR file.

Step 1: Configuring the proxy service property in jrun.xml

On the COLDFUSION machine, locate the cf_root\runtime\servers\coldfusion\SERVER-INF\jrun.xml file for ColdFusion and make the following changes:

  1. Find the entry labeled ProxyService .
  2. Add <attribute name="deactivated">false</attribute> .
  3. Save the file.
  4. Restart the ColdFusion Application Server.

Step 2: Creating a directory space in ColdFusion server for IIS

On the WEBSERVER machine, create the following directory cf_root\runtime\lib\wsconfig\ (create a directory for each connected website):

cf_root\runtime\lib\wsconfig\1

It is a best practice to mirror the connector software directory structure from the ColdFusion server on the web server for consistency and simplicity.

Step 3: Setting up the web server configuration properties

On the web server machine, create a file named wsconfig.properties in the cf_root\runtime\lib\wsconfig directory. The wsconfig.properties file contains the data that the Web Server Configuration Tool uses to maintain web server configuration information. Depending on the web server, the wsconfig.properties file should contain the following information.

1=IIS,1,false,"" 1.srv=localhost,"cfusion" 1.cfmx=true,<null>

Step 4: Configuring Web Server IIS 7

Configure the web server IIS 7. These steps are done on the web server machine.

  1. Extract jrunwin32.dll and jrun_iis6.dll files from cf_root\runtime\lib\wsconfig.jar file and copy them to cf_root\runtime\lib\wsconfig\.
  2. Extract the file, jrun_iis6_wildcard.dll from cf_root\runtime\lib\wsconfig.jar file and copy it to cf_root\runtime\lib\wsconfig\1.
  3. Create a jrun_iis6_wildcard.ini file in cf_root\runtime\lib\wsconfig\1. It should contain the following information: (Note: Replace "000.0.0.0" in the examples below with the IP address of the remote ColdFusion machine.)
verbose=true Buffer=true serverstore=cf_root/runtime/lib/1/jrunserver.store bootstrap=000.0.0.0:51011 apialloc=false #errorurl=url <optionally redirect to this URL on errors> #proxyretryinterval=600 <number of seconds to wait before trying to reconnect to unreachable clustered server> #connecttimeout=15 <number of seconds to wait on a socket connect to a jrun server> #recvtimeout=300 <number of seconds to wait on a socket receive to a jrun server> #sendtimeout=15 <number of seconds to wait on a socket send to a jrun server> #maxworkerthreads=25 <number of worker threads created for asynchronous request processing>
  1. Create the jrunserver.store file in cf_root\runtime\lib\wsconfig\1. Add the following line:
proxyservers=000.0.0.0:51011
  1. In the Internet Information Services(IIS) Manager, do the following:
    1. Click the Handler Mappings for the website you are connecting.
    2. Click Add Managed Handler.
    3. In the Request Path: field, enter *.cfm.
    4. In the Type: field, enter cf_root\runtime\lib\wsconfig\jrun_iis6.dll.
    5. In the Name: field, enter cfmHandler.
    6. Click OK.

Just as you added the information above for the *.cfm in the above steps, add the following information for the *.cfc files. In other words, add cfcHandler - *.cfc, cfmlHandler - *.cfml,cfrHandler - *.cfr,cfswfHandler -*.cfswf,hbmxmlHandler - *.hbmxml (*.jsp,*.jws if required).

    1. Click Add Wildcard Script Map.
    2. In the Executable: field, enter cf_root\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dll.
    3. In the Name: field, enter JWildCardHandler.
    4. A dialog box appears, asking the following: "Do you want to allow this ISAPI extensions?" Click YES.
  1. Within the IIS Manager, in ISAPI and CGI Restrictions, add the following: cf_root\runtime\lib\wsconfig\jrun_iis6.dll,cf_root\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dll with the following description "Macromedia Server Extensions" and set Restriction to "allowed" See this in the following figure.
IIS Manager with ISAPI and CGI Restrictions
Figure 1. IIS Manager with ISAPI and CGI Restrictions
  1. Restart the web server.

After configuring IIS7 as the web server you might stop getting detailed error messages and simply get the "500 Internal server error."

If you wish to get the detailed error message for both local and remote machines, continue to step 8.

  1. In Internet Information Services(IIS) Manager, use the following steps:
    1. Click Error Pages for the website you are connecting.
    2. Click Edit Feature settings.
    3. Select Detailed errors.
    4. Click OK.

Where to go from here

The goal of this article is to provide the manual steps to configure Internet Information Services 7 as connector with ColdFusion 9 when you are facing issues with configuring the connector though the Web Server Configuration Tool.


This work is licensed under a Creative Commons Attribution-Noncommercial 3.0 Unported License.

More Like This

  • Taking advantage of 64-bit support in ColdFusion 8
  • Setting up your ColdFusion development environment for Windows
  • Using ColdFusion Ajax security features
  • Enabling multiple user access to the ColdFusion Administrator and RDS
  • Creating engaging applications with ColdFusion 8 for the government
  • ColdFusion 8 server monitoring – Part 1: Using the Server Monitor in development
  • ColdFusion 8 server monitoring – Part 2: Using the Server Monitor in production
  • ColdFusion 8 server monitoring – Part 4: Multiserver Monitor, Admin API monitoring, and more
  • Securing your applications using HttpOnly cookies with ColdFusion
  • ColdFusion 8 server monitoring – Part 3: Automated monitoring and request management with Alerts and Snapshots

Tutorials & Samples

Tutorials

  • Getting started with Adobe ColdFusion 10 on Cloud
  • Getting ready to develop with ColdFusion
  • Using Axis2 web services with ColdFusion 10

Samples

Products

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elements family
  • SiteCatalyst
  • For education

Download

  • Product trials
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

Support & Learning

  • Product help
  • Forums

Buy

  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2013 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy | Cookies

Ad Choices

Reviewed by TRUSTe: site privacy statement