NonStop Servlets for JSP System Administrator's Guide

Migration to NSJSP 2.0
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide525644-001
7-2
iTP_server.xml File
iTP_server.xml File
The content of the iTP_server.xml file has changed a lot in NSJSP (see
iTP_server.xml on page 3-6 for details).
During installation, the existing iTP_server.xml file is backed up. The
iTP_server.xml file will be replaced by the iTP_server.xml.sample (default
iTP_server.xml file). You will need to incorporate your specific configuration into the
new iTP_server.xml file.
Context change – Since NSJSP 2.0 supports virtual hosts, you need to specify the
appBase directory of the owning <Host> and docBase for your web application.
For example:
replaces
Realm change – Certain changes are required if you are using the JDBCRealm
(see JDBCRealm on page 3-22 for details).
For example:
replaces
<Host name="localhost" debug="0" appBase="webapps"
unpackWARs="true">
...
<Context path="/test" docBase="test" debug="0"
reloadable="true" />
...
</Host>
<Context path="/test" docBase="webapps/test" debug="0"
reloadable="true" />
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="0"
driverName="com.tandem.sqlmp.SQLMPDriver"
connectionURL="jdbc:sqlmp:"
userTable="$data05.john.users”
userNameCol="user_name"
userCredCol="user_pass"
userRoleTable="$data05.john.userrole”
roleNameCol="role_name" />
<RequestInterceptor
className="org.apache.tomcat.request.JDBCRealm"
debug="0"
driverName="com.tandem.sqlmp.SQLMPDriver"
connectionURL="jdbc:sqlmp"
userTable="$data05.john.users”
userNameCol="user_name"
userCredCol="user_pass"
userRoleTable="$data05.john.userrole”
roleNameCol="role_name" />