NonStop Servlets for JavaServer Pages (NSJSP) 7.0 System Administrator's Guide
Managing NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) 7.0 System Administrator’s Guide—674372-005
4-121
Persisting Changes to the server.xml File and
Context Files
For example, server.xml.2004-06-21.14-43-39 is created to preserve the
configuration file before the Save Change operation is performed at 2:43:39 PM on
June 21st, 2004.
The preserved server.xml file is located in the <NSJSP_HOME>/conf/directory.
The preserved context configuration file (with the naming convention <context-
name>.xml.yyyy-mm-dd.hh-mm-ss) is located in the
<NSJSP_HOME>/conf/[enginename]/[hostname]/[webappname].xml file.
For example, the
<NSJSP_HOME>/conf/NSJSP/localhost/bankapp.xml.2010-04-22.11-03-
41 file is located in the <NSJSP_HOME>/conf/NSJSP/localhost directory.
This subsection includes the following topic:
Roll Back a Save Change Operation
Roll Back a Save Change Operation
You can manually roll back the Save Change operation, because the server.xml
files are preserved.
Complete the following steps to roll back the Save Change operation:
1. Stop the NSJSP Server Class.
2. Rename the current server.xml file to the server.xml.temp file.
3. Rename the preserved server.xml.yyyy-mm-dd.hh-mm-ss file to the
server.xml file.
4. If you have modified any setting for a particular context, which includes <context
name>.xml file, complete the following steps to revert those context changes:
a. Rename the <context name>.xml file of that context (under the
<NSJSP_HOME>/conf/NSJSP/localhost folder) to the <context
name>.xml.tmp file.
Rename the <context-name>.xml.yyyy-mm-dd.hh-mm-ss file to the
<context-name>.xml file.
Note.
To roll back the Save Changes operation, you must restart the NSJSP Server Class.
The server.xml and the context.xml files can be backed up but the
nsjsp-user.xml file cannot be backed up.
Note. You can stop the NSJSP Server Class using the NSJSP Manager application or
using the CLI.










