Installation guide
4. NETSCAPE/IPLANET PLUGIN (SPARC/SOLARIS)
ServletExec 4.1 Installation Guide 36
• For JDK 1.2 reference release:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/java/jre/lib/sparc
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/java/jre/lib/sparc/native_thr
eads
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/java/jre/lib/sparc/classic
export LD_LIBRARY_PATH
• For JRE 1.2 reference release:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/java/lib/sparc
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/java/lib/sparc/native_threads
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/java/lib/sparc/classic
export LD_LIBRARY_PATH
4.5.2.3 LD_PRELOAD
The LD_PRELOAD environment variable must be set to explicitly load libjava.so
before any other shared objects:
LD_PRELOAD=libjava.so
export LD_PRELOAD
4.5.2.4 SERVER_ROOT
Because the Netscape Server installation directory may vary, the SERVER_ROOT
environment variable may need to be exported to the start script to direct
ServletExec/NSAPI to that location. This is only required if your Netscape Server
installation is anywhere other than /usr/netscape/suitespot (which
ServletExec/NSAPI will assume as the default).
If your installation uses a base installation directory other than the default, the start
script must contain the following line:
export SERVER_ROOT
4.5.3 NES/iWS Configuration File (obj.conf)
The NES/iWS server implementation requires that the obj.conf configuration file be
modified to enable installation of NSAPI plugins such as ServletExec/NSAPI. This
section describes the modifications performed by the ServletExec/NSAPI installation
script.
Important
If you chose not to allow the installer to make these modifications, you must make them
manually.
Several lines must be added to the obj.conf configuration file for each server for which
ServletExec/NSAPI 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, where
<path> is the full path to the ServletExecNSAPI directory:
Init fn=”load-modules” shlib="<path>/bin/ServletExecNSAPI.so"
funcs="ServletExecInit,ServletExecFilter,ServletExecService"
Init fn=”ServletExecInit”