NonStop Servlets for JavaServer Pages (NSJSP) 6.0 System Administrator's Guide
Migrating to NSJSP 6.0
NonStop Servlets for JavaServer Pages (NSJSP) 6.0 System Administrator’s Guide—544548-004
7-3
filemaps.config
filemaps.config
In NSJSP 6.0, the filemaps.config file is referred by the SERVLET instances and
the NSJSPADMIN instance during startup. Only the NSJSPADMIN instance can modify
the filemap.config file. For more information, see filemaps.config on page 3-15.
context.xml
The context.xml file is an addition to NSJSP 6.0. The default session manager
com.tandem.servlet.catalina.session.NSJSPStandardManager is
configured in this file. For more information on this file, see context.xml on page 3-13.
Migrating Web Applications
Consider the following points while migrating web applications:
All web applications must be manually migrated from NSJSP 5.0 to NSJSP 6.0 and
must be placed in the NSJSP_HOME/webapps directory. For more information on
deploying the web applications, see Deploying Web Applications on page 3-15.
In NSJSP 6.0, the user JAR files that are common to all applications must be
placed in the NSJSP_HOME/lib directory.
The <logger> element from NSJSP 5.0 is not valid in NSJSP 6.0. When NSJSP
5.0 is started or restarted, EMS messages are published by default. In NSJSP 6.0,
EMS messages are published based on the logging configuration. For more
information on logging and logger levels in NSJSP 6.0, see Logging in NSJSP 6.0
on page 6-1.
Migrating Session Store
NSJSP 5.0 session store does not work in NSJSP 6.0 because of the differences in
field sizes in table definition for the JDBC store.
To migrate sessions from NSJSP 5.0 to NSJSP 6.0:
1. Run one of the following commands to create the NSJSP 6.0 session store:
NSJSP_HOME/conf/nsjsp_createSessionStore_mp.sql to create the
persistent session store for SQL/MP.
NSJSP_HOME/conf/nsjsp_createSessionStore_mx.sql to create the
persistent session store for SQL/MX.
2. Run the NSJSP_HOME/conf/nsjsp_migrateSessionStore script to migrate
data from NSJSP 5.0 to NSJSP 6.0.
The nsjsp_migrateSessionStore script migrates the data from SQL/MP to
SQL/MX or SQL/MP to SQL/MP. For more information on
nsjsp_migrateSessionStore, see nsjsp_migrateSessionStore on page 5-22.










