Running petclinic on nonstop – HP Integrity NonStop H-Series User Manual
Page 53

3.
In the WAR file to deploy section, click Browse and locate the
petclinic.war
file on
your Windows system.
4.
Click Deploy.
PetClinic is listed under Applications.
NOTE:
If you do not have access to the NSJSP Web Application Manager screen, you can
deploy PetClinic on your NonStop system by completing the following steps:
1.
Ensure that you have WRITE permissions to the
webapps
directory in your
<NSJSP
deployment directory>
. You can confirm this by using the OSS command:
OSS> ls –l
For example:
ls –l at /home/sash_usr/webserver/servlet_jsp
must display
WRITE permissions to the
webapps
directories.
If this directory does not have WRITE permissions set, run the following command:
OSS> chmod +w
2.
Copy the PetClinic
WAR
file (
petclinic.war
) from the
<My SASH
Home>\spring\samples\petclinic\dist
Windows directory to the
<NSJSP
deployment directory>/webapps
OSS directory.
Running PetClinic on NonStop
To run PetClinic on your NonStop system, click /servlet_jsp/petclinic path under Applications
on the NSJSP Web Application Manager screen.
NOTE:
If you do not have access to the NSJSP Web Application Manager screen, you can run
PetClinic on your NonStop system by completing the following steps:
1.
Go to the
directory using the
command:
OSS> cd
For example:
OSS> cd /home/sash_usr/webserver/conf
2.
Start your iTP WebServer using the command:
OSS> ./start
3.
Access the PetClinic application using the address:
http://
You can now perform the following actions using PetClinic:
•
View a list of veterinarians and their specialities
•
View information pertaining to a pet owner
•
Update the information of a pet owner
•
Add a new pet owner to the system
•
View information pertaining to a pet
•
Update the information of a pet
•
Add a new pet to the system
•
View information pertaining to the visitation history of a pet
•
Add information pertaining to a visit to the visitation history of a pet
Deploying and Running Sample Spring Applications on NonStop
53