NonStop Servlets for JavaServer Pages (NSJSP) 6.1 System Administrator's Guide
Migrating to NSJSP 6.1
NonStop Servlets for JavaServer Pages (NSJSP) 6.1 System Administrator’s Guide—596210-006
7-22
Considerations for Migrating Web Applications from
NSJSP 5.0 to NSJSP 6.1
Session Manager Configuration
In NSJSP 5.0, you can configure the session manager either in the Default Context or
in the application-specific context definition, in the META-INF/context.xml file. In
NSJSP 6.1, you can configure the Manager either in the conf/context.xml, which
is the equivalent of Default Context, or in the application-specific context in the META-
INF/context.xml file of the application.
Table 7-11 compares the attributes of Manager that are either not relevant or have a
different meaning in NSJSP 6.1.
Shared Application Resources
In NSJSP 5.0, the <NSJSP_HOME>/shared folder can contain application resources,
such as, class files and jar files that are shared by all web applications. By default,
NSJSP 6.1 does not have a shared folder in the default installation. However, you can
create a folder and place all resources common to all web applications in that folder. If
you create the shared folder, the conf/catalina.properties file must be modified
to indicate the location of the shared folder.
The following is an example of an entry in the properties file:
shared.loader=${catalina.home}/shared,${catalina.home}/shared/*.
jar
HP recommends that all application-specific resources be bundled with the application
and not be placed in the shared folder. This is to ensure that the application resources
are independent of the container.
Container-Specific Resources
In NSJSP 5.0, all the servlet container-specific jar files were included in the server
folder. The jar files common to web applications and the container were included in
the common/lib folder. NSJSP 6.1 includes only the <NSJSP_HOME>/lib folder. The
<NSJSP_HOME>/lib folder includes the common and the container-specific libraries.
In NSJSP 5.0, the Admin Web and the Manager Web applications were included in the
server/webapps folder. In NSJSP 6.1, the Admin Web and the Manager Web
applications are included in the webapps folder of the installation.
Although there is a difference in the directory location of the files and folders between
NSJSP 5.0 and NSJSP 6.1, no changes are required for these web applications during
Table 7-11. Session Manager Configuration
Attribute NSJSP 5.0 NSJSP 6.1
checkInterval Valid for both in-memory
manager and the
persistent manager.
Valid only in the persistent manager. In
the standard manager, the sessions
expire during the background process
checks.










