Download Red Hat NETSCAPE ENTERPRISE SERVER 6.1 - NSAPI PROGRAMMER GUIDE Installation guide
Transcript
5. SERVLETEXEC APPLICATION SERVER (UNIX) webapps One of these subdirectories exists for each virtual server configured. This subdirectory contains the “default” folder for automatically deploying web applications hosted by ServletExec/AS. See the README in the webapps directory and the ServletExec User Guide for more information. 6.5.2 Netscape Enterprise Server / iPlanet Web Server If you installed a web server adapter for Netscape Enterprise Server (NES) or iPlanet Web Server (iWS), changes were made to your system as described in the following sections. 6.5.2.1 Server Configuration File (obj.conf) To install a ServletExec/AS web server adapter for NES/iWS, modifications must be made to the web server’s obj.conf file. This section describes the modifications to obj.conf made by the ServletExec/AS installer. Important If you chose not to allow the installer to make these modifications, you must make them manually. Several lines must be added to obj.conf for each server for which ServletExec/AS is installed (the location of these lines within the obj.conf file is very important): 1. Add the following lines to the beginning of obj.conf before the other Init directives: Init fn=”load-modules” shlib="<path>/bin/nsapi/ServletExec_Adapter.dll" funcs="ServletExecInit,ServletExecService" Init fn=”ServletExecInit” <instance-name>.instances="127.0.0.1:8888" where <path> is the full path to the ServletExec/AS installation directory; by default, this is /usr/local/NewAtlanta/ServletExecAS. Note: The first Init directive will normally appear on a single line within the obj.conf file. It’s shown as spanning three lines here for formatting reasons. It may span three lines within obj.conf, in which case the second and third lines must begin with a tab or space character). In general, the format of the second Init directive is: Init fn=ServletExecInit <instance-name>.instances="<addr>:<port>" where <instance-name>, <addr>, and <port> are the name, IP address, and port number of the ServletExec/AS instance to which HTTP requests will be forwarded. Important—iWS 6.0 or Higher Users If you’re using iWS 6.0 or higher, you must add the Init directives to the magnus.conf file rather than the obj.conf file. ServletExec 4.1 Installation Guide 74