NonStop Servlets for JSP System Administrator's Guide
Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide—525644-001
3-36
Configuring the Manager for Sessions Support
Note that the session_id field used above as the partitioning key contains only 
hexadecimal characters (0 through 9 or A through F). As a result, per the above 
examples: 
•
All records with session IDs starting with 0 through 4 are stored in the main table.
•
All records with session IDs starting with 5 through 9 are stored in the partition 
indicated by =TheFirstSessionPartition.
•
All records with session IDs starting with A through F are stored in the partition 
indicated by =TheSecondSessionPartition.
Configuring the Manager for Sessions Support
To successfully configure NSJSP for persistent sessions support, create a <Manager> 
element and nest it under a <Context> element in your 
iTPWS_INSTALL_DIR/servlet_jsp/conf/iTP_server.xml configuration file, as 
described. All implementations of the <Manager> element supports the following 
attributes: 
className
The Java class name of the implementation to use. This class must implement the 
org.apache.catalina.Manager interface. If not specified, the default value 
used is org.apache.catalina.session.NSJSPStandardManager. 
distributable
If distributable is set to true, the session manager enforces the restrictions 
described in the Servlet 2.3 specifications on distributable applications. Primarily, 
this means that all the session attributes should implement the 
java.io.Serializable interface. The default value is false. 
The value of this property is automatically inherited from the web application 
deployment descriptor (WEB-INF/web.xml) based on the presence or absence of 
the <distributable> element.
Example 3-29. Adding Partitions Using the SQLCI ALTER TABLE Command
sqlci> alter table =TheT1222SessionCatalog.SessData add partition 
 =TheFirstSessionPartition.SessData FIRST KEY “5” 
 catalog =TheT1222SessionCatalog;
sqlci> alter table =TheT1222SessionCatalog.SessData add partition 
 =TheSecondSessionPartition.SessData FIRST KEY “A” 
 catalog =TheT1222SessionCatalog;










