NonStop Servlets for JavaServer Pages (5.0) System Administrator's Guide

Programming and Management Features
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide525644-002
4-32
iTP_server.xml Configuration File
iTP_server.xml Configuration File
The commit change operation causes the nsjspadmin server to serialize the current
configuration back to the NSJSP's iTP_server.xml configuration file. At the same
time, the current version of the iTP_server.xml file is preserved using the following
naming convention:
iTP_server.xml.yyyy-mm-dd.hh-mm-ss
where
yyyy-mm-dd is the year-month-day
hh-mm-ss is the hour-minutes-seconds (in 24-hour format)
The yyyy-mm-dd.hh-mm-ss is the timestamp when the commit change operation is
performed. For example, the iTP_server.xml.2004-06-21.14-43-39 is created
to preserve the configuration file before the commit change performed at 2:43:39 PM
on June 21st, 2004.
These preserved iTP_server.xml files are located in the
$NSJSP_HOME/conf/backup/ directory.
The preserved Context configuration files (with names of the form <context-
name>.xml.yyyy-mm-dd.hh-mm-ss) are located in the
$NSJSP_HOME/conf/NSJSP/<host-name>/backup/ directory.
The default location is the $NSJSP_HOME/conf/NSJSP/localhost/backup/
directory.
Content of the iTP_server.xml File
When the nsjspadmin server serializes its configuration back to the
iTP_server.xml file, the following changes occur in addition to the configuration
changes:
All comments are removed.
All contexts are serialized including those that were dynamically deployed.
All attributes are listed including those that were omitted (using default values).
As a result, the iTP_server.xml may not be as readable as it was previously. Be
careful if you use a text editor to make subsequent changes.
Role Back a Commit Change Operation
Because these iTP_server.xml files are preserved, you can role back a commit
change operation manually by using the following steps:
1. Shutdown the iTP WebServer environment.
2. Rename the current iTP_server.xml to iTP_server.xml.temp.