View comments | RSS feed

Configuring web servers

This section describes how to configure a web server to serve ColdFusion pages, for Windows and UNIX. Do this if you did not configure a web server automatically during installation, or to change your web server.

Note:   If you cannot verify your configuration, repeat the procedure. If the problem persists, contact Macromedia Technical Support for assistance, or manually create the element that you cannot verify in the configuration (for example, manually add an entry to the Apache web server properties file, as documented in this section).

Configuring web servers in Windows

This section explains how to configure the following web servers in Windows:

Configuring Internet Information Server (IIS) in Windows

This section describes how to configure Internet Information Server (IIS) for ColdFusion MX in Windows, and how to verify your configuration.

Note:   The Macromedia ColdFusion MX team has tested integration with the .Net Framework version 1 and Service Pack 1.

To configure IIS for ColdFusion MX in Windows:

  1. Select Start > Run, and enter cmd.
  2. At the command prompt, enter the following command on a single line:
    cf_root\runtime\jre\bin\java -cp cf_root\runtime\lib 
    -jar cf_root\runtime\lib\wsconfig.jar -ws IIS -site "0" 
    -map .cfm,.cfc,.cfml,.jsp -v
    

    Note:   You must enter the previous command as a single (long) line.

    The following is a sample command:

    c:\cfusionmx\runtime\jre\bin\java -cp c:\cfusionmx\runtime\lib 
    -jar c:\cfusionmx\runtime\lib\wsconfig.jar -ws IIS -site "0" 
    -map .cfm,.cfc,.cfml,.jsp -v
    

This adds the appropriate IIS application mappings for ColdFusion MX.

If necessary, ColdFusion MX generates the following log file for errors: cf_root\runtime\lib\wsconfig\wsconfig.log.

To verify your IIS configuration:

  1. Verify that the following file was created: cf_root/runtime/lib/wsconfig/jrun.dll.
  2. For each of your IIS websites, verify that application mappings for .cfm, .cfml, .cfc, and .jsp 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.

      The new application mappings appear, as the following figure shows:

      Application Configuration dialog box with IIS application mappings for ColdFusion MX

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

    The following figure shows a sample JRunScripts virtual directory:

    The IIS virtual directory for ColdFusion MX, called JRunScripts

  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:

      cf_root/runtime/lib/wsconfig/1/

      The following figure shows a sample Properties dialog box for the JRunScripts virtual directory:

      Properties dialog box for the IIS

Configuring Netscape Enterprise or iPlanet web server in Windows

This section describes how to configure Netscape Enterprise web server 3.6x or iPlanet web server (4.x or 6.x) for ColdFusion MX in Windows, and how to verify your configuration.

To configure Netscape or iPlanet for ColdFusion MX in Windows:

  1. Select Start > Run, and enter cmd.
  2. At the command prompt, enter the following command on a single line:
    cf_root\runtime\jre\bin\java -cp cf_root\runtime\lib 
    -jar cf_root\runtime\lib\wsconfig.jar -ws <Iplanet or NES> 
    -dir <Netscape/iPlanet config directory> -v
    

    Note:   You must enter the previous command as a single (long) line.

    The following is a sample command:

    c:\cfusionmx\runtime\jre\bin\java -cp c:\cfusionmx\runtime\lib 
    -jar c:\cfusionmx\runtime\lib\wsconfig.jar -ws NES 
    -dir c:\netscape\server4\https-yourserver\config -v
    

To verify your Netscape or iPlanet configuration:

  1. Verify that the following file was created:
    cf_root\runtime\lib\wsconfig\1\jrun_nsapi35.dll
  2. Open the Netscape configuration file, obj.conf, in the web server directory (for example, in c:\netscape\server4\https-yourserver\config\obj.conf).
  3. Verify that the following line was added to the file:
    NameTrans fn="jrunfilter"
    
  4. Verify that #JRun prefixes the following NameTrans line in the file:
    #JRun NameTrans fn="pfx2dir" from="/servlet" 
    dir="e:/netscape/servers/docs/servlet" 
    
  5. Verify that the following object element is at the end of the file:
    <Object name="jrun">
    PathCheck fn="jrunfilter"
    Service fn="jrunservice"
    </Object>
    

Configuring Apache web server in Windows

This section describes how to configure the Apache web server for ColdFusion MX in Windows, and how to verify your configuration.

To configure Apache for ColdFusion MX in Windows:

  1. Select Start > Run, and enter cmd.
  2. At the command prompt, enter the following command on a single line:
    cf_root\runtime\jre\bin\java -cp cf_root\runtime\lib 
    -jar cf_root\runtime\lib\wsconfig.jar -ws Apache 
    -dir <Apache conf directory> -v
    

    Note:   You must enter the previous command as a single (long) line.

    The following is a sample command:

    c:\cfusionmx\runtime\jre\bin\java -cp c:\cfusionmx\runtime\lib 
    -jar c:\cfusionmx\runtime\lib\wsconfig.jar -ws Apache 
    -dir c:\Program Files\Apache Group\Apache\conf -v
    

To verify your Apache configuration:

  1. Verify that the following file was created:
    cf_root\runtime\lib\wsconfig\1\mod_jrun.so
  2. Open the Apache configuration file, httpd.conf, in your Apache conf directory. By default it is c:\Program Files\Apache Group\Apache\conf\httpd.conf.

    Verify that the following code is appended to this file:

    # JRun Settings
    LoadModule jrun_module "c:/CFusionMX/runtime/lib/wsconfig/1/mod_jrun.so"
    <IfModule mod_jrun.c>
        JRunConfig Verbose false
        JRunConfig Apialloc false
        JRunConfig Ssl false
        JRunConfig Serverstore "c:/CFusionMX/runtime/lib/wsconfig/1/
    jrunserver.store"
        JRunConfig Bootstrap 127.0.0.1:51000
        #JRunConfig Errorurl <URL for errors>
    </IfModule>
    

Configuring web servers on UNIX

This section explains how to configure the following web servers on UNIX:

Configuring Apache web server on UNIX

This section describes how to configure the Apache web server for ColdFusion MX on UNIX, and how to verify your configuration.

To configure the Apache web server for ColdFusion MX on UNIX:

To verify your Apache configuration:

  1. Verify that the following file was created:
    cf_root/runtime/lib/wsconfig/1/mod_jrun.so
  2. Open the Apache configuration file, httpd.conf, in your Apache conf directory. By default it is /etc/httpd/conf/httpd.conf.

    Verify that the following code is appended to this file:

    # JRun Settings
    LoadModule jrun_module "/opt/coldfusionmx/runtime/lib/wsconfig/1/mod_jrun.so"
    <IfModule mod_jrun.c>
        JRunConfig Verbose false
        JRunConfig Apialloc false
        JRunConfig Ssl false
        JRunConfig Serverstore "/opt/coldfusionmx/runtime/lib/wsconfig/1/
    jrunserver.store"
        JRunConfig Bootstrap 127.0.0.1:51000
        #JRunConfig Errorurl <URL for errors>
    </IfModule>
    

Configuring Netscape or iPlanet web server on UNIX

This section describes how to configure Netscape Enterprise web server 3.6x or iPlanet web server (4.x or 6.x) for ColdFusion MX on UNIX, and how to verify your configuration.

To configure Netscape or iPlanet for ColdFusion MX on UNIX:

To verify your Netscape or iPlanet configuration:

  1. Verify that the following file was created:
    cf_root/runtime/lib/wsconfig/1/jrun_nsapi35.dll
  2. Open the Netscape configuration file, obj.conf, in the web server directory (for example, in /usr/netscape/server4/https-surf/config/obj.conf).
  3. Verify that the following line is in the file:
    NameTrans fn="jrunfilter"
    
  4. Verify that #JRun prefixes the following NameTrans line in the file:
    #JRun NameTrans fn="pfx2dir" from="/servlet" 
    dir="e:/netscape/servers/docs/servlet" 
    
  5. Verify that the following object element is at the end of the file:
    <Object name="jrun">
    PathCheck fn="jrunfilter"
    Service fn="jrunservice"
    </Object>
    

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

Version 6

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

Comments


dbanttari said on May 24, 2002 at 6:21 PM :
Missing from the NES/IPlanet docs (copied from the JRun Administrators' Guide):

A typical magnus.conf file for Netscape/iPlanet web servers follows:

Init fn="load-modules" shlib="C:/JRun4/lib/wsconfig/1/jrun_nsapi35.dll"
funcs="jruninit,jrunfilter,jrunservice"

Init fn="jruninit" serverstore="C:/JRun4/lib/wsconfig/1/jrunserver.store"
bootstrap="127.0.0.1:51000" verbose="false" apialloc="false" ssl="false"

* Note: this may wrap, but it should be two lines that begin with "Init"
ghank said on May 1, 2002 at 4:49 PM :
I am having a hell of a time with the Apache configuration.
Here is what I put in at the command line:
c:\cfusionmx\runtime\jre\bin\java -cp c:\cfusionmx\runtimeib
-jar c:\cfusionmx\runtimeib\wsconfig.jar -ws Apache
-dir c:\Program Files\nusphere\apache\conf -v

I get unix man file type info on how to use java - jar wsconfig.jar so it is as if I am missing a parameter or something. Suggestions?
Grover77777 said on May 10, 2002 at 3:46 AM :
IIS installation specifies using the "-wd" parameter such as below:

C:\cfusionmx\runtime\jre\bin\java -cp c:\cfusionmx\runtimeib -jar c:\cfusionmx\runtimeib\wsconfig.jar -wd IIS -site "0" -map .cfm,.cfc,.cfml,.jsp -v

however, I believe it should be "-ws" as below:

C:\cfusionmx\runtime\jre\bin\java -cp c:\cfusionmx\runtimeib -jar c:\cfusionmx\runtimeib\wsconfig.jar -ws IIS -site "0" -map .cfm,.cfc,.cfml,.jsp -v
spacity69 said on Jul 31, 2002 at 9:00 PM :
You mention setting cacheRealPath and the proxyService to false where can I find these settings.
xyphoid said on Jul 31, 2002 at 9:02 PM :
Where can I find this setting?

Web servers using ColdFusion MX that use multiple host names with different document roots ("multihomed" servers)must change the cacheRealPath option of the ProxyService to false. Otherwise, if two sites have a script with the same name relative to their web roots (for example, /index.cfm), the web server might incorrectly render the scripts. This setting might cause slower performance; this is why the
option is set to true by default
fusewerx said on Jun 15, 2002 at 11:53 AM :
Multiple IIS5 virtual sites (unassigned IP, port 80, different directories as site home) -- Setup isn't configuring something properly. If I access one site, then another, it returns the first site's index.cfm (which, of course, is broken, because it should return the second site's .cfm)
sgilson102 said on Jun 17, 2002 at 1:35 PM :
From the Release Notes for using multiple host names with
different document roots:

Web servers using ColdFusion MX that use multiple host names with different document roots ("multihomed" servers)must change the cacheRealPath option of the ProxyService to false. Otherwise, if two sites have a script with the same name relative to their web roots (for example, /index.cfm), the web server might incorrectly render the scripts. This setting might cause slower performance; this is why the
option is set to true by default.


Stephen M. Gilson
CF Doc Manager
CFnewbie said on Jul 1, 2002 at 8:31 PM :
I'm having a hard time with the Apache configuration under Windows. I enter the command, just as it says, and get a message saying that it cannot connect to the JRun server, and to make sure it's running. I'm quite sure that it is, but for some reason the app doesn't recognize it. Does anyone have a solution? My OS is Windows XP Pro, and the Apache version is 2.0.39. Thanks in advance for the help!
MXPower said on Jun 27, 2002 at 8:54 PM :
This does not go into an important part of the Admin Page. The admin page when in CF Stand Alone uses port 8500. When you configure all of the above references, they work but I am unable to get the admin page to work without :8500. I am unable to find any documentation on this currently. I can not develop with this configuration.
CFnewbie said on Jul 1, 2002 at 8:34 PM :
I've been having a tough time configuring the CF server to work with Apache 2.0.39 under XP Professional. I enter the command shown in the documentation, but the program returns that it cannot contact the JRun server, and that I should make sure that it has already been started. I know that it has been, as CFStart shows that it's running. Does anyone know what the solution may be? Thanks in advance for any assistance.
ajm63 said on Jun 28, 2002 at 1:08 PM :
OS: Windows NT 4.0 SP6 (will be upgrading to win 2000 soon - but has no bearing on this)
Web Server: Netscape Enterprise Server 3.61
CF 5.0 is installed and trying to upgrade to MX.

Install appears to have gone well except.
I can NOT pull up index.cfm as the default document.
index.html works fine if no cfm file is available.
And if you type in manually index.cfm it displays.

After checking the obj.config file as stated above in "Configuring Netscape Enterprise or iPlanet web server in Windows" all entries are in there and correct.
When looking at the Netscape Web Admin I found the following errors on the Server Settings page.

Unknown: ObjectType: type-by-exp, args: exp="*.jws" type="jrun-internal/" Directive="ObjectType"
Unknown: ObjectType: type-by-exp, args: exp="*.cfm" type="jrun-internal/" Directive="ObjectType"
Unknown: ObjectType: type-by-exp, args: exp="*.cfc" type="jrun-internal/" Directive="ObjectType"

Any ideas on a fix for this???
sgilson102 said on Jul 1, 2002 at 7:56 PM :
In response to MX Power:

1. (IIS only) Copy a .cfm (or .cfml) file to your web server web root (by default, this is c:\INetPub\wwwroot). Try to display the file (e.g., http://localhost/index.cfm). If it does not work, run the command as that is documented in the release notes:
---------------------
Configuring IIS for ColdFusion MX
You do not need to do this if you selected IIS during the ColdFusion MX installation. However,
to switch to IIS, or to reconfigure IIS after the installation, enter the following command as
a single (long) line:
cf_root\runtime\jre\bin\java -cp cf_root\runtimeib
-jar cf_root\runtimeib\wsconfig.jar
-ws IIS -site "0" -filter-prefix-only
-map .cfm,.cfc,.cfml,.jsp -v

The following is a sample command:
c:\cfusionmx\runtime\jre\bin\java -cp c:\cfusionmx\runtimeib
-jar c:\cfusionmx\runtimeib\wsconfig.jar
-ws IIS -site "0" -filter-prefix-only
-map .cfm,.cfc,.cfml,.jsp -v

This is contrary to what is published in Installing ColdFusion MX (Chapter 2: Configuring your
System > Configuring web servers > Configuring Internet Information Server (IIS) in Windows),
which has -wd instead of -ws.

Note: Using -site "0" configures all IIS websites for ColdFusion MX; whereas using -site "1"
configures only Default Web Site. You can also enter a named web site as well; for example,
-site "foo".
---------------------
2. Move the CFIDE and CFDOCS folders from the webroot for the standalone web server (by default, c:CFusionMX\wwwroot) to the webroot for your new web server. (CAUTION: Do not touch the WEB-INF folder.)

You should be all set.

Stephen M. Gilson
CF Doc Manager

sgilson102 said on Jul 1, 2002 at 8:02 PM :

Comment:
In response to ajm63:

ColdFusion MX does not set the default document for apache or netscape - you must do it manually.

Here's how:

Netscape:
In the obj.conf file, add index.cfm to the list (separate entries with a comma).
Example:
PathCheck fn=find-index index-names="index.html,home.html,index.cfm"


Apache:
In the httpd.conf file, add index.cfm to the list (separate entries with a space).
Example:
<IfModule mod_dir.c>
DirectoryIndex index.html home.html index.cfm
</IfModule>

Stephen M. Gilson
CF Doc Manager
ianwinter said on Jul 22, 2002 at 4:23 PM :
In CF5 with iPlanet 6 you had to add mime.types in your {server-root}/https-{server-name}/config directory. With MX the mime types are in the file {cf-install-path}/wwwroot/WEB-INF/web.xml
kjabbour@macromedia. said on Aug 2, 2002 at 3:32 PM :
Update from Macromedia:
The release notes say: "Web servers using ColdFusion MX that use multiple host names with different document roots ("multihomed" servers)must change the cacheRealPath option of the ProxyService to false. Otherwise, if two sites have a script with the same name relative to their web roots (for example, /index.cfm), the web server might incorrectly render the scripts. This setting might cause slower performance; this is why the option is set to true by default."

xyphoid commented (though it's not showing on this page for some reason): "Where can I find this setting?"

The answer: In the jrun.xml file, located in the \servers\default\SERVER-INF directory (by default, C:\CFusionMX\servers\default\SERVER-INF\jrun.xml). The "cacheRealPath" attribute is inside the XML &lt;service&gt; element with name="ProxyService".
I will update the release notes with this important information.

Regards,
Kristi Jabbour, Macromedia Documentation
ajm63 said on Sep 16, 2002 at 5:20 PM :
When trying to install MX after uninstall not prompted for which server to choose. Standalone is automatically used.
VERY BAD!
Also following the above configuration to use Apache a main web server. I get the following error.
Please advise A.S.A.P.

Exception in thread "main" java.lang.NoClassDefFoundError: c:\cfusionmx\runtime
lib\wsconfig/jar
rnielsen said on Oct 21, 2002 at 6:38 PM :
Apache changed their magic number with 2.0.43 and there is a known bug regarding this problem. I'm told that it will be fixed in the Updater 2, scheduled for sometime in November 2002.
montelen said on Oct 20, 2002 at 8:54 PM :
There is something wrong with the command for Apache configuration. Here's what I enter (all my programs, including cfusionmx are installed on H:, and my Apache instance is called Apache2). Below, is the system reply.

The command does not like the "-cp" option. I do not see a "1" folder under wsconfig and there are no changes made to my httpd.conf file. I am using Apache 2.0.43 on Windows NT 4, SP6a. Are you sure this command is correct?

If all I need to do is maunally update the Apache Config file, that would be great to know, as I could just as easily cut and paste the directives.


H:\>h:\cfusionmx\runtime\jre\bin\java -cp h:\cfusionmx\runtimeib -jar h:\cfusionmx\runtimeib\wsconfig.jar -ws Apache -dir h:\Program Files\Apache Group\Apahe2\conf -v

Usage:
To use GUI:
java -jar wsconfig.jar
To use property file to specifiy options:
java -jar wsconfig.jar -f <property-file-path>
To use command line to specify options:
java -jar wsconfig.jar [options]

Options
To install web server connector:
-ws <IIS|apache|NES|iPlanet> -dir <path> | -site <site>
[-host <hostname>] [-server <servername>] | [-cluster <clustername>]
[-norestart] [-l] [-a] [-v]
[-map <.ext1[,.extn]>] (IIS only)
[-bin <path>] [-service <servicename>] (Apache/Windows only)
[-bin <path>] [-script <path>] (Apache/UNIX only)
To remove web server connector:
-remove -ws <IIS|apache|NES|iPlanet> -dir <path> | -site <site> [-v]
To remove all web server connectors:
-uninstall [-v]
To upgrade web server connector:
-upgrade -ws <IIS|apache|NES|iPlanet> -dir <path> | -site <site> [-v]
To upgrade all web server connectors:
-upgrade [-v]
To list configured web servers:
-list [-v]
To list all JRun servers/clusters on specified host:
-list -host <hostname> [-v]
To get JRun version information for this jar file:
-info
To get this help:
-help

Descriptions
-ws <IIS|Apache|NES|iPlanet|Zeus> web server
-dir <path> Apache conf, NES or Zeus config directory
-site <site> IIS web site name or number
-host <hostname> JRun server address (default=localhost)
-server <servername> JRun server name (default=default)
-cluster <clustername> JRun cluster name
-norestart do not restart web server
-l enable verbose logging for connector
-a enable native OS memory allocation
-v verbose output from connector installer
-map <.ext1[,.extn]> IIS application mappings list
-service <servicename> Apache Windows service name
-bin <path> Apache server binary file
-script <path> Apache Unix control script file

H:\>
rnielsen said on Oct 25, 2002 at 9:04 PM :
When a web server is configured to support ColdFusion MX, several file extensions are specified to be processed exclusively by ColdFusion. These extensions are: .jsp, .cfm, .cfc, and .cfml. If these file extensions are not correctly specified, a web server may deliver files of these types as static files if ColdFusion MX is not running.

The ColdFusion Install kit on all platforms correctly sets these extensions. The web server scripts provided for Windows in {cf_home}\CFusionMX\bin\connectors also correctly set these extensions.

The instructions on this page incorrectly omit the -map switch for Unix platforms. Whenever wsconfig.jar is used to configure a web server, the -map switch is always required. The correct format for this switch with all web servers on all platforms is:

-map .cfm,.cfc,.cfml,.jsp

For more information, see the Security Bulletins page at http://www.macromedia.com/v1/developer/securityzone/securitybulletins.cfm
goodtiminman said on Nov 8, 2002 at 5:26 AM :
Yes, I have also notice that during a re-install that Cold Fusion MX Developer edition DOES NOT recognize your web server.

Why, and how can this be fixed? Is there something in the registry that is limiting the selection to only the standalone web server?

Also, the command for configuring Apache on the command line does not work at all. I am using Apache version 1.3 on Windows XP.

What is the correct command for configuring CF MX with Apache?

Thanks :)
goodtiminman said on Nov 8, 2002 at 5:27 AM :
You cannot select anything except the standalone web server when doing a re-install of CF Mx developer.

Also, the command line sequence for configuring Apache does not work.

Any clues?

Thanks:) Kip
dragan said on Dec 11, 2002 at 10:47 AM :
Config: Coldfusion MX, NT4, IIS, FlshMX
Install: Default Webserver used for CF MX install
Problem: When I configure an other Web Server in IIS, "host header name" used to distinguish from default one, I can't use Flash Remoting on this server. (I followed the "Configuring web servers" procedure and the cfm scripts run without problem)
rhallanger101 said on Jan 9, 2003 at 9:49 AM :
I stopped IIS Admin service at some point in the installation process. I restarted it and it still didn't work. The World Wide Web Publishing Service also needs to be restarted. After that, it worked fine.
.scott said on Feb 26, 2003 at 8:52 PM :
Guys,

I was getting that same help doc when trying to use CFMX with Apache on Win2K. My problem seemed to be the parameters passed and that I had spaces in some of my file paths.

Removed the spaces by refering to these long file names by their 8char equivalent and it all worked fine.

C:\CFusionMX\runtime\jre\bin>java -cp \cfusionmx\runtimeib -jar \cfusionmx\run timeib\wsconfig.jar -ws Apache -dir c:\Progra~1\Apache~1\Apache2\conf -v

.scott
rnielsen said on Apr 25, 2003 at 8:54 AM :
CFMX Updater 3 has many fixes to the web server configuration tool. For more information, see the FAQ at http://www.macromedia.com/support/coldfusion/ts/documents/connector_install_faq.htm
sqlcow said on Jun 23, 2003 at 2:04 PM :
i tried the following command ... it worked fine

cf_root/jre/bin/java -jar
cf_root/runtime/lib/wsconfig.jar -ws Apache -dir /path/to/conf/ -bin /path/to/httpd -script /path/to/apachectl -host local.ip -v

if i didnt include -host, it will default to 127.0.0.1 , which didnt work for me ..
MacAneyth said on Aug 19, 2003 at 2:50 AM :
I crash my installation of CFMX.
How is it possible to reinstall CFMX on IIS ?

I have a lot of problems with standalone version ....
trickmandan said on Oct 30, 2003 at 2:01 PM :
I can not start my server after installing CFMX on Netscape Enterprise 6.1. I see the entries in the obj file. Any ideas?
maizie said on Nov 6, 2003 at 1:55 PM :
Can CF 6.1 run under Windows 2003 and IIS? We have tried the installation repeatedly and cannot make it work.

Is the JRunScripts directory supposed to be created automatically with the installation software? It never is.

Dr. John Jackman
j-jackman@tamu.edu
jrunrandy said on Nov 6, 2003 at 2:24 PM :
CFMX or CFMX 6.1? This is the CFMX page. For info on Win2K3 and CFMX, see http://www.macromedia.com/support/coldfusion/ts/documents/install_cf_win2003.htm

For more in Win2K3 and CFMX 6.1, see http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/intro5.htm
No screen name said on Nov 7, 2003 at 8:59 PM :
Je suis très contant pour votre collaboration.
streetdaddy said on Nov 27, 2003 at 2:27 AM :
Installing under Apache 1.3x on Win XP

I've tried using the 8 character filenames for the command but I still recieve this error:

C:\Documents and Settings\Miles>c:\CFusionMX\runtime\jre\bin\java -cp c:\CFusionMX\runtimeib -jar c:\CFusionMX\runtimeib\wsconfig.jar -ws Apache -dir c:\Progra~1\Apache~1\Apache\conf -v

os.name: Windows 2000
os.version: 5.1
os.arch: x86
platform: intel-win
web server: Apache
web server directory: C:/Program Files/Apache Group/Apache/conf
File C:\CFusionMX\runtimeib\wsconfig\jrunwin32.dll newer than JAR file C:\CFusionMX\runtimeib\wsconfig.jar so not extracted
Could not connect to any JRun servers on host localhost.
Confirm that the JRun server is started.

Has anyone been able to get around this?
Webber2004 said on Nov 27, 2003 at 4:30 PM :
Well, it sure looks like a lot of people having difficulties configuring the web server - and I am one of them! I have worked with UltraDev in the past and never had a problem with it. I am so confused that I am ready to change to asp.net overnight and support Microsoft instead of Macromedia.

I have had so many bad experiences with Macromedia lately that I am intending to let the press know about this - even action a summons against the company, then perhaps Macromedia will start taking their customers seriously?

I have already posted my issue on the CFMX Forum, after seven days still no one has replied. Hence, I thought I better explain my problem here, in the hope that someone can help me.

I am running Windows 2000 Pro which comes with IIS, and I also have another machine with Windows XP (Home). The problem described here relates to WINPRO 2000.

I am fully licensed and using Macromedia Studio MX, which comes with the ColdFusion MX Server Developer Edition v.6.0.

My problem is that each time I try to create a RECORDSET I get the following error message:

This action cannot be completed because the other program is busy. Choose 'SWITCH TO' to activate the active program and correct the problem.

What a statement! Just look at it - what 'other program' is referred to? When I try to 'SWITCH TO' the busy program I get nothing, there are no other programs running. All I can do from there is to close down DWMX by Ctrl>ALT>DELTE, as I can't get the program to close under normal execution.

I then figured out that it had to do with my web server - the configuration may be wrong, I thought. Hence, I read these pages and have found that the command prompt for configuring ISS does nothing on my systems. I even tried Grover77777 recommendations - referring to his comments said on May 10, 2002 at 3:46 AM.

When viewing the Server behaviors dialog box in DWMX I have three ticks, indicating that:

1) I have successfully created a site for the file
2) I have successfully chosen a document type, namely ColdFusion
3) and that I have successfully set up the site's testing server

and then I have no ticks for the rest of the remaining three points, which means that I have to:

4) Specify the RDS login
5) Create a ColdFusion data source
6) and finally press the plus(+) button to choose a recordset - which I still cant do!

When clicking any of the above points (4-6) I get the following warning:

The server name or address could not be resolved. Possible reasons:

1) The URL specified for this site's testing server maybe be incorrect:http:''localhost/
2) The following server may be incorrectly configured (for example, ColdFusion may not be running

I have changed everything and tested many scenarios - I have also gone to START>SETTINGS>CONTROL PANEL>ADD REMOVE PROGRAMS>ADD REMOVE WINDOWS COMPONENTS to make sure I have ISS installed - it looks like it is installed. I have also gone to START>SETTINGS>CONTROL PANEL>ADMINISTRATIVE TOOLS>SERVICES to find that:

A) ColdFusion MX Server Application - [is set to start automatically]
B) ColdFusion MX ODBC AGENT [also set to start automatically]
C) ColdFusion MX ODBC SERVER [again also set to start automatically]

So my conclusion is that the ColdFusion is running, I am right? I have also tried to change above three points (A-C) to start up Manually - but that does not change a thing.

I have even tried on the other machine as well (MS XP, Home Edition) - does the same thing.

So here I am - can't get any further and it is costing me money - as we say here in Australia, 'Time is Money'....

So Dear Macromedia - please assist with this. I am apparently not the only one with this issue. There are many unanswered messages here and in your FORUM. I can't understand that you have not been able to develop a proper tutorial on the configuration issues discussed herein. Very little assistance is offered, a step-by-step approach with print screens for different OS would be appreciated.

How do you expect us, the developers, to use your so called 'leading' technology', when it is clear to me that you are struggling yourselves getting this together. I think ASP from Microsoft is much better documented - question is if I could invest more time in Macromedia?

If Macromedia is to get substantial market share in the design of database driven solutions, you need to put your act together. I am lucky to know many leading developers and most of them prefer asp.net - wonder why!

Please assist or watch my dust..

HWB
No screen name said on Dec 23, 2003 at 9:19 PM :
I also would like an answer to Webber 2004's question. I has not been answered for almost 4 weeks?
jrunrandy said on Jan 9, 2004 at 1:06 PM :
If you have problems configuring your web server, please post them to the online Forums: http://webforums.macromedia.com/coldfusion.

You can also get information in technotes: http://www.macromedia.com/support/coldfusion

Also, ColdFusion MX 6.1 fixes a lot of these problems.
pkates said on Feb 25, 2004 at 6:58 AM :
Absolute pile of c**p
I have tried to install CFMX on and off for the last 8 months without any success. It works fine standalone, but never with ISS. It really is a pile of pooh.
Andy_jarrett said on Mar 17, 2004 at 6:41 AM :
I've installed CFMX 6.1 on win 2000, win 2003, and Linux. Maybe inexperience is your answer. There are plenty of forums that you can use to get help, aswell as lists and newsgroups.
Matheus Antonelli said on Mar 21, 2004 at 12:09 AM :
What's Macromedia is doing with the ColdFusion?
I develop in CondFusion since version 3.5 and I never had the problems that the CFMX is causing...

I miss Allaire...
rcs_ said on Mar 22, 2004 at 5:23 PM :
The documentation on the built-in web server needs to include how to create the script mappings for Perl and the Perl ISAPI.
No screen name said on Mar 31, 2004 at 1:32 PM :
Hey Macromedia,

I'm finally working with ColdFusion for a senior project, and I have come up on the same problem that Webber2004 had. So, if you answered his, then you answered mine. If you could let me know the result of his dispute it would be great!

http://livedocs.macromedia.com/coldfusion/6/Installing_ColdFusion_MX/configuring4.htm#1118876
Webber2004 said on Nov 27, 2003 at 4:30 PM
CRJAngel said on Jul 12, 2004 at 1:48 PM :
Here I am up against the wall again with this program and using the command prompt to no avail. I am so sick of trying to configure this server you have no idea.

Your suggestions do not work
ausmeister said on Sep 12, 2004 at 3:29 PM :
Well, having the same configuration problems with Apache 2.0.43 and CFMX 6.1 Installed the update, and it still doesn't process cfm files!! Can anyone help? TIA

 

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

Current page: http://livedocs.adobe.com/coldfusion/6/Installing_ColdFusion_MX/configuring4.htm