Installation guide
Table Of Contents
- Introduction
- ServletExec/ISAPI: Microsoft IIS Plugin (Windows)
- ServletExec/NSAPI:NES/iWS/Sun ONE Plugin (Windows)
- ServletExec/NSAPI: NES/iWS/Sun ONE Plugin(SPARC Solaris)
- ServletExec/AS:Application Server (Windows)
- ServletExec/AS: Application Server (UNIX/Linux)

4. SERVLETEXEC/NSAPI: NES/IWS/SUN ONE PLUGIN (SPARC SOLARIS)
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 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 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/Sun ONE Configuration Files
The NES/iWS/Sun ONE server implementation requires that the obj.conf and magnus.conf
configuration files 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 these configuration files for each server for which
ServletExec/NSAPI is installed.
The location of these lines within these files is very
important.
1. Add the following lines to the beginning of
magnus.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”
Note
The first Init directive will normally appear on a single line within the
magnus.conf file. It’s shown as spanning two lines here for formatting reasons. It
may span two lines within
magnus.conf, in which case the second line must begin
with a tab or space character.
Important
If you had previously activated, then deactivated the Java Interpreter for NES 3.5.1 or
higher, two
Init directives similar to the following will still be in your obj.conf
file:
Init funcs="SJavaBootInit" shlib=".." fn="load-modules"
ServletExec 5.0 Installation Guide 38