Installation guide

5. SERVLETEXEC APPLICATION SERVER (UNIX)
ServletExec 4.1 Installation Guide 76
Init fn="load-modules"
shlib="/usr/local/NewAtlanta/ServletExecAS/bin/ServletExecAdapter.so"
funcs="ServletExecInit,ServletExecService"
Init fn="ServletExecInit" <instance-name>.instances="127.0.0.1:8888"
Init fn=flex-init
access="/usr/netscape/suitespot/https-<instance-name>/logs/access"
format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req-
>srvhdrs.clf-status% %Req->srvhdrs.content-length%"
Init fn=load-types mime-types=mime.types
<Object name=default>
NameTrans fn="assign-name" from="/example/*" name="<instance-name>"
NameTrans fn="assign-name" from="/servlet/*" name="<instance-name>"
NameTrans fn="assign-name" from="*.jsp*" name="<instance-name>"
NameTrans fn=pfx2dir from=/ns-icons dir="/usr/netscape/suitespot/ns-icons"
NameTrans fn=pfx2dir from=/mc-icons dir="/usr/netscape/suitespot/ns-icons"
NameTrans fn="pfx2dir" from="/help" dir="/usr/netscape/suitespot/manual/https/ug"
NameTrans fn=document-root root="/usr/netscape/suitespot/docs"
PathCheck fn=nt-uri-clean
PathCheck fn="check-acl" acl="default"
PathCheck fn=find-pathinfo
PathCheck fn=find-index index-names="index.html,home.html"
ObjectType fn=type-by-extension
ObjectType fn=force-type type=text/plain
Service method=(GET|HEAD) type=magnus-internal/imagemap fn=imagemap
Service method=(GET|HEAD) type=magnus-internal/directory fn=index-common
Service method=(GET|HEAD) type=*~magnus-internal/* fn=send-file
AddLog fn=flex-log name="access"
</Object>
<Object name=cgi>
ObjectType fn=force-type type=magnus-internal/cgi
Service fn=send-cgi
</Object>
<Object name="<instance-name>">
Service fn="ServletExecService" group="<instance-name>"
</Object>
Figure 17. Complete obj.conf Configuration file for NES 3.6
Connection Pooling Between the Web Server Adapter and ServletExec
The installer automatically enables connection pooling between the web server adapter
and ServletExec, using default settings. The purpose of this connection pooling is to
improve performance through better resource management.
You can change the default settings by modifying the configuration file as explained
below. The two parameters that provide the connection pooling are: pool max idle
(sets maximum idle time for a connection… default setting is 10) and
pool increment.
(sets connection increment value… default setting is 5).
A good guideline for changing these parameters from their default settings would be to
set the
pool max idle to your average number of connections, and to set the pool
increment
to the average spike number of connections.
To modify Connection Pooling in NES/iWS for ServletExec/AS
Add the following to the beginning of the obj.conf file. Go back to Step 1
earlier in this section, copy the line containing the second init directive and insert
a space at the end of it, adding the following immediately after and on the same
line: