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 Guide674372-005
4-127
Manual Deployment and Undeployment of Web
Applications
After running the START SERVER command, the system displays the following
message indicating that the server is started:
$YY66S: SERVER server_name, STARTED
Manual Deployment and Undeployment of Web
Applications
You can control the deployment of applications by using attributes in the server.xml
file. This section discusses the following topics:
Deploying Applications at Startup
Deploying Applications on a Running NSJSP Server
Deploying Applications at Startup
In the server.xml file, the location of web applications is specified by the appBase
attribute of the Host.
To deploy a web application at startup, you must set the value of the Host's
deployOnStartup attribute to true. If the deployOnStartup attribute is set to
false, applications will not deploy at startup.
Even though applications are not deployed during startup (if deployOnStartup is set
to false), the applications will get deployed when the auto deployer of the Host runs.
You can control the auto deployer by using the autoDeploy attribute. For more
information on the autoDeploy attribute, see Chapter 3, Configuring NSJSP
.
The following is the deployment sequence:
1. All contexts in <NSJSP_HOME>/conf/enginename/hostname are deployed
first. It is assumed that any XML file in the
Note.
By default, an NSJSP Server Class includes four processes.
You can use either PATHCOM or PDMCOM to execute server class operations such as
stop, start, thaw and freeze.
Check the <NSJSP 7.0 Installation name>.<date>.log file to ensure that the
NSJSP server has restarted.
You can use either PATHCOM or PDMCOM to execute server class operations such as
stop, start, thaw and freeze.
Note.
The default host is localhost and the default appBase is
<NSJSP_HOME>/webapps.
Note. If the deployOnStartup and the autoDeploy attributes are set to false, you must
deploy the applications using the NSJSP Manager.