The following parameters allow you to customize the number of dedicated
connections that perform each of the operations.
•
- the number of connections that perform lookup operations (the
lookupPool
default is 4 connections).
•
- the number of connections that perform insert operations (the
insertPool
default is 4 connections).
•
- the number of connections that perform update operations (the
updatePool
default is 4 connections).
•
- the number of connections that perform delete operations (the
deletePool
default is 2 connections).
Enabling JdbcSessionManager
You may want to enable
You can also enable
JdbcSessionManager
running in single process mode. To enable Enterprise Server to use
JdbcSessionManager
•
Use the Legacy Servlets>Configure Global Servlet Attributes page in the Server
Manager interface.
In the Session Manager field specify:
com.netscape.server.http.session.JdbcSessionManager
You can also specify parameters for the session manager in the Session
Manager Args field, for example:
timeOut=1200,username=mysession,password=mypassword
•
Edit the file
servlets.properties
apply to the default virtual server only.
Add a line specifying a value for
the parameters for the session manager:
servlets.sessionmgr=com.netscape.server.http.session.JdbcSessionMan
ager
servlets.sessionmgr.initArgs=timeOut=1200,username=mysession,passwo
rd=mypassword
•
Edit the file
contexts.properties
apply to the default virtual server only.
Add a line specifying a value for
line specifying the parameters for the session manager:
JdbcSessionManager
, do any of the following:
in the directory server_id
servlets.sessionmgr
in the directory server_id
context.
Deprecated Session Managers
to change its default parameters.
for a particular context if the server is
and a line specifying
context_name
.sessionmgr
Chapter 6
. This will
/config
. This will
/config
and a
Session Managers
69
Need help?
Do you have a question about the NETSCAPE ENTERPRISE SERVER 6.0 - PROGRAMMER GUIDE TO SERVLETS and is the answer not in the manual?
Questions and answers