NonStop Servlets for JavaServer Pages (5.0) System Administrator's Guide
Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide—525644-002
3-51
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, 
•
All records that have session IDs starting with 0 through 4 are stored in the main 
table.
•
All records that have session IDs starting with 5 through 9 are stored in the 
partition indicated by =TheFirstSessionPartition.
•
All records that have session IDs starting with A through F are stored in the 
partition indicated by =TheSecondSessionPartition.
Configuring the Manager for Sessions Support
To configure NSJSP for persistent sessions support, create a <Manager> element 
and nest it under a <Context> element in your Context configuration file. All 
implementations of the <Manager> element support 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 is 
com.tandem.servlet.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 which 
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-34. 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;










