User Guide

Configuring web servers 59
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.
Note: When running the Web Server Configuration Tool on the JRun J2EE configuration,
wsconfig.jar is located in jrun_root/lib. You can also use the scripts in cf_root/bin/connectors,
modifying them, as appropriate for your environment.
To configure Netscape or iPlanet for ColdFusion MX on UNIX:
1 Enter the following command on a single line:
java_root/bin/java -jar cf_root/runtime/lib/wsconfig.jar
-ws <Iplanet or NES> -dir <Netscape/iPlanet config directory>
-map .cfm,.cfc,.cfml,.jsp,.jws -coldfusion -v
Note: You must enter the previous command as a single (long) line.
The following is a sample command:
/opt/coldfusionmx/jre/bin/java
-jar /opt/coldfusionmx/runtime/lib/wsconfig.jar
-ws NES -dir /usr/netscape/server4/https-surf/config
-map .cfm,.cfc,.cfml,.jsp,.jws -coldfusion-v
2 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 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>