Installation guide

4. NETSCAPE/IPLANET PLUGIN (SPARC/SOLARIS)
ServletExec 4.1 Installation Guide 37
Note
The first Init directive will normally appear on a single line within the obj.conf
file. It’s shown as spanning two lines here for formatting reasons. It may span two lines
within
obj.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"
Init classpath=".." ldpath=".." fn="SJavaBootInit"
You must either: (a) make sure the ServletExec/NSAPI Init directives appear before
these two Java Interpreter directives; or, (b) remove the Java Interpreter directives.
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.
2. Add the following lines within the <Object name=default> directives:
NameTrans fn=”ServletExecFilter”
Service method=(“GET|HEAD|POST)” type=”magnus-internal/nac”
fn=”ServletExecService
Important
The NameTrans directive for ServletExec/NSAPI must appear first in the list of
NameTrans directives for the default object. The Service directive for
ServletExec/NSAPI must similarly appear first in the list of Service directives for the
default object.
Note
The Service directive will normally appear on a single line within the obj.conf
file. It’s shown as spanning two lines here for formatting reasons. It may span two lines
within
obj.conf, in which case the second line must begin with a tab or space
character.
Figure 8 shows a partial obj.conf file for NES 3.6 with ServletExec/NSAPI installed. The
default installation locations were used for both the server and ServletExec/NSAPI. The
changes made for ServletExec/NSAPI are highlighted.
4.6 Uninstalling ServletExec/NSAPI
The ServletExec/NSAPI installation script also contains the options for uninstalling.
To uninstall ServletExec/NSAPI
1. Give the file execute permission.