Running petclinic on nonstop – HP Integrity NonStop J-Series User Manual

Page 45

Advertising
background image

3.

Select SERVLETS for the Server Class and click Set.

The Host (in server.xml) tab is enabled and populated with localhost. Click Set, which enables
the Deployment tab on the NSJSP Manager screen.

Figure 4

shows the Deployment tab of NSJSP Manager.

Figure 4 NSJSP Manager Screen - Deployment tab

4.

In the Deployment tab, complete the following steps in the Web Application Deployment from
Desktop section:
1.

In the Select a .war file to upload field, click Browse... and locate the petclinic.war
file on the Windows system.

2.

(Optional) In the Context name field, enter a name for the application context.

3.

Click Deploy.

PetClinic is deployed on NSJSP and is listed under Applications tab of the NSJSP Manager screen.

NOTE:

HP recommends that you use the NSJSP manager for deployment. Deployment using the

FTP or any other mechanism is not recommended. For more information on using the NSJSP
manager, see the NonStop Servlets for JavaServer Pages (NSJSP) 6.1 System Administrator’s
Guide
.

Running PetClinic on NonStop

To run PetClinic on the NonStop system, click /<servlet directory>/petclinic path under
Applications on the NSJSP Web Application Manager screen.

You can now perform the following actions using PetClinic:

View a list of veterinarians and their specialties

View and update information of a pet owner

Add a new pet owner to the system

View and update information of a pet

Deploying and Running Sample Spring Applications on NonStop

45

Advertising
This manual is related to the following products: