Installation guide
4. NETSCAPE/IPLANET PLUGIN (SPARC/SOLARIS)
ServletExec 4.1 Installation Guide 35
configured. This subdirectory contains the “default”
folder for automatically deploying web applications
hosted by ServletExec/NSAPI.
See the README in the webapps directory and the
ServletExec User Guide for more information.
4.5.2 Server start Script
The Netscape Server start script must be modified to set the ServletExecHome,
LD_LIBRARY_PATH, and LD_PRELOAD environment variables, and possibly export the
SERVER_ROOT environment variable. This script resides in the https-<server-name>
subdirectory of the ServletExecNSAPI directory.
The following sections describe the modifications made to the server
start script by the
ServletExec/NSAPI installation script.
Important
If you chose not to allow the installer to make these modifications, you must make them
manually.
If you choose to run a different JDK or JRE version than the one available when
ServletExec/NSAPI was originally installed, you may need to modify the start script and
change the various settings of LD_LIBRARY_PATH as needed.
4.5.2.1 ServletExecHome
The ServletExecHome environment variable must be set to the base directory of the
ServletExecNSAPI installation directory. By default, it is
“/usr/local/NewAtlanta”. The ServletExecHome variable must also be exported,
as shown:
ServletExecHome=/usr/local/NewAtlanta
export ServletExecHome
4.5.2.2 LD_LIBRARY_PATH
The LD_LIBRARY_PATH environment variable must be set to include the SPARC native
threads libraries (ServletExec/NSAPI requires SPARC native threads). For example, if
the JDK is installed in /usr/java, then LD_LIBRARY_PATH must be set as follows (for
Bourne shells) in the server
start script depending on which version of the JDK or JRE
you’re using.
• For JDK 1.2 and 1.3 production releases:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/java/jre/lib/sparc
export LD_LIBRARY_PATH
• For JRE 1.2 and 1.3 production releases:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/java/lib/sparc
export LD_LIBRARY_PATH