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:
Start the Web Server Configuration Tool by selecting Start > Programs > Macromedia ColdFusion MX > Web Server Configuration Tool from the Start menu.
Click Add.
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.
In the Web Server Properties area, select IIS and specify the website. For IIS, you typically specify All.
Select Configure web server for ColdFusion MX applications.
Caution: Omitting the previous step causes your web server to serve ColdFusion MX source code.
Click OK.
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:
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.
For each of your IIS websites, verify that application mappings for .cfm, .cfml, .cfc, .jsp, and .jws were added, as follows:
In IIS, right-click an IIS website and select Properties.
In the Properties dialog box, on the Home Directory tab, click Configuration.
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.
Verify that each of your IIS websites has a virtual directory called JRunScripts.
The following figure shows a sample JRunScripts virtual directory:
Verify that the JRunScripts directory in each of your IIS websites points to the correct location, as follows:
Right-click the JRunScripts directory and select Properties.
In the Properties dialog box, on the Virtual Directories tab, verify that the Local Path text box contains the following path:
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
Comments
jrunrandy said on Nov 11, 2003 at 7:07 AM : No screen name said on Jan 28, 2004 at 2:15 PM : chentea said on Mar 31, 2004 at 2:02 PM : chentea said on Apr 1, 2004 at 7:54 AM : cbyrne said on May 4, 2004 at 7:44 AM :