View comments | RSS feed
Contents > Installing and Using ColdFusion MX > Configuring Your System > Configuring web servers > Configuring IIS in Windows PreviousNext

Configuring IIS in Windows

This section describes how to configure IIS for ColdFusion MX in Windows, and how to verify your configuration. You configure IIS using the Web Server Configuration Tool in either GUI or command-line mode. This discussion describes how to use GUI mode. To use the command line, open the batch files located in cf_root\bin\connectors. For more information, see the Web Server Management chapter of Configuring and Administering ColdFusion MX.

To configure IIS for ColdFusion MX in Windows:

  1. Start the Web Server Configuration Tool by selecting Start > Programs > Macromedia ColdFusion MX > Web Server Configuration Tool from the Start menu.
  2. Click Add.
  3. In the Server drop-down list box, select the host name and the server or cluster name that you want to configure. In the ColdFusion MX server configuration, the server name is always default. Clustering support is only available on the JRun J2EE configuration.

    Note: The server or cluster does not have to reside on the web server computer.

  4. In the Web Server Properties area, select IIS and specify the website. For IIS, you typically specify All.
  5. Select Configure web server for ColdFusion MX applications.

    Caution: Omitting the previous step causes your web server to serve ColdFusion MX source code.

  6. Click OK.
  7. Copy the CFIDE and cfdocs directories from cf_root\wwwroot to your web server root directory. In addition, copy your application's CFM pages from cf_root\wwwroot to your web server root directory.

To verify your IIS configuration:

  1. Verify that the following file was created: cf_root\runtime\lib\wsconfig\jrun.dll (server configuration) or jrun_root/lib/wsconfig/jrun.dll (JRun J2EE configuration). On IIS6, this file is named jrun_iis6.dll.
  2. For each of your IIS websites, verify that application mappings for .cfm, .cfml, .cfc, .jsp, and .jws were added, as follows:
    1. In IIS, right-click an IIS website and select Properties.
    2. In the Properties dialog box, on the Home Directory tab, click Configuration.
    3. In the Application Configuration dialog box, click the App Mappings tab.

      You should see mappings for .cfm, .cfml, .cfc, .jsp, and .jws in the Extension column.

  3. Verify that each of your IIS websites has a virtual directory called JRunScripts.

    The following figure shows a sample JRunScripts virtual directory:


    This is a picture of the feature being described.
  4. Verify that the JRunScripts directory in each of your IIS websites points to the correct location, as follows:
    1. Right-click the JRunScripts directory and select Properties.
    2. In the Properties dialog box, on the Virtual Directories tab, verify that the Local Path text box contains the following path:

      path/wsconfig/number (typically 1)


Contents > Installing and Using ColdFusion MX > Configuring Your System > Configuring web servers > Configuring IIS in Windows PreviousNext

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting

Version 6.1

Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.

Comments


jrunrandy said on Nov 11, 2003 at 7:07 AM :
The .jws mapping is a feature of JRun web services. For more information, see http://livedocs.macromedia.com/jrun/4/Programmers_Guide/wspublish2.htm
No screen name said on Jan 28, 2004 at 2:15 PM :
If the JRunScripts directory does not exist(multi homed server), you can re-create it through the following macromedia commands :

1.Run the cf_root\bin\connectors\Remove_ALL_connectors.bat to completely remove all existing IIS configurations.
2.Run the cf_root\bin\connectors\IIS_connectors.bat to properly configure all sites (existing and new).
chentea said on Mar 31, 2004 at 2:02 PM :
How do I started the Java Server? It told me I need to start the Java Server. Check the services tab no JavaServer.
chentea said on Apr 1, 2004 at 7:54 AM :
I verify the jrun.dll can could not found on my C drive. Not sure why. I try to use the IIS 5.o as web server. It told me the JRun server not running but when I checked the services the JRUN is started and running. Any Ideas?
cbyrne said on May 4, 2004 at 7:44 AM :
On Windows 2000 Pro using IIS 5.0 (for development edition), and with CF configured in the server configuration, there is not a file named jrun.dll in the directory: cf_root\runtimeib\wsconfig\ (server configuration). There is, however, a file named "jrunwin32.dll" in this directory. The only place I see files named "jrun.dll" is in the numbered subdirectory.

To verify the installation, it is unclear from the docs where the application mappings should point. Should they point to "jrun.dll" in the numbered subdirecotries or to "jrunwin32.dll" in the directory cf_root\runtimeib\wsconfig\ ???
jrunrandy said on May 4, 2004 at 8:53 AM :
Good catch. That's a mistake in our docs.
* jrun.dll is in the numbered subdirectory.
* jrunscripts and the extension mappings should point to jrun.dll
No screen name said on May 20, 2004 at 8:13 AM :
I tried install the whole package a couple of times but I still could not find JRunScripts directory. Somebody please tell me why? I am using developer edition. Also, I don't have the batch files in connector directory. I made changes from GUI screen.
No screen name said on Jun 22, 2004 at 8:49 AM :
I´ve installed ColdFusion MX a couple of times and the only thing i get when i try to open a example cfm page is a blank page, i´ve been looking for the problem but i don´t find it, please help.
The ColdFusion Services are running and the extensions are related to the localhost directory. HELP!!!!!!!!!!!
CannonR1 said on Sep 12, 2004 at 1:05 PM :
The problem is in the web server configuration tool I have no IIS6 web sites to choose. I have tried to set up a multiple intance of CF MX 6.1 on an XP Pro sp1 machine several times and removed and installed IIS6 several times but still can not see a web site to connect too. I have multiple instances working on a couple of 2003 servers fine.
Any ideas would be welcome
-r- said on Oct 2, 2004 at 5:04 AM :
CannonR1, IIS 6.0 will not run on XP Pro.

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/config12.htm