Building faulthandling on windows, Deploying faulthandling on nonstop, Running faulthandling – HP Integrity NonStop H-Series User Manual

Page 185

Advertising
background image

Building FaultHandling on Windows

To build FaultHandling on your Windows system, complete the following steps:

1.

Go to the

<Axis2 Home>\samples\faulthandling

directory on your Windows system,

using the command:

command prompt> cd <Axis2 Home>\samples\faulthandling

For example:

command prompt> cd C:\axis2-1.4.1-bin\samples\faulthandling

2.

Generate the service. To do so, complete the following steps:
a.

Clean the output directory (if already present) using the command:

command prompt> ant clean

b.

Create the service archive file (

BankService.aar

) in the

<Axis2

Home>\samples\faulthandling\build\service

directory on your Windows

system, using the command:

command prompt> ant generate.service

FaultHandling is now ready to be deployed under Axis2/Java web application on NonStop
system.

Deploying FaultHandling on NonStop

To deploy the BankService webservice under Axis2/Java web application, complete the following
steps:

1.

Copy the

BankService.aar

file from the

<Axis2

Home>\samples\faulthandling\build\service

directory on Windows system to

the

<NSJSP deployment directory>/webapps/axis2/WEB-INF/services

OSS

directory on your NonStop system.

2.

Verify if the BankService is successfully deployed:

If iTP WebServer is already running, BankService should be listed in

http://<IP Address

of the iTP WebServer>:<port#>/servlet_jsp/axis2/services/listServices

If iTP WebServer is not running, start the iTP WebServer using the following steps:
a.

Go to

<iTP WebServer deployment directory>/conf

, using the command:

OSS> cd <iTP WebServer deployment directory>/conf

For example:

OSS> cd /home/sash_usr/webserver/conf

b.

Start the iTP WebServer using the command:

OSS> ./start

The BankService should be listed in

http://<IP Address of the iTP

WebServer>:<port#>/servlet_jsp/axis2/services/listServices

.

Running FaultHandling

To run FaultHandling, the BankService webservice on your NonStop system must be invoked
through a client on your Windows system. To do so, perform the following steps:

1.

Go to

<Axis2 Home>\samples\faulthandling,

using the command:

command prompt> cd <Axis2 Home>\samples\faulthandling

For example:

Deploying and Running Axis2/Java Sample Applications on NonStop

185

Advertising
This manual is related to the following products: