Manual

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 <NSJSP deployment directory>
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 <NSJSP deployment directory>/webapps
2. Copy the PetClinic WAR file (petclinic.war) from the <My SASH
Home>\spring\samples\petclinic\dist Windows directory to the <NSJSP
deployment directory>/webappsOSS 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 <iTP WebServer deployment directory>/conf directory using the
command:
OSS> cd <iTP WebServer deployment directory>/conf
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://<IP Address of the iTP WebServer>:<port#>/servlet_jsp/petclinic
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