Modifying the configuration file on windows, Modifying the build file on windows – HP Integrity NonStop J-Series User Manual

Page 298

Advertising
background image

Modifying the Configuration File on Windows

You must modify the <Axis2 Home>\conf\axis2.xml configuration file by adding a user
phase named 'RMPhase' to the four flows of the axis2.xml file.

The following code snippet shows the user phase added in the configuration file:

<axisconfig name="AxisJava2.0">

<!-- REST OF THE CONFIGURATION-->

<phaseOrder type="InFlow">
<phase name="Transport"/>
<phase name="Security"/>
<phase name="PreDispatch"/>
<phase name="Dispatch" />
<phase name="OperationInPhase"/>
<phase name="soapmonitorPhase"/>
<phase name="RMPhase"/>
</phaseOrder>

<phaseOrder type="OutFlow">
<phase name="RMPhase"/>
<phase name="soapmonitorPhase"/>
<phase name="OperationOutPhase"/>
<phase name="PolicyDetermination"/>
<phase name="MessageOut"/>
<phase name="Security"/>
</phaseOrder>

<phaseOrder type="InFaultFlow">
<phase name="PreDispatch"/>
<phase name="Dispatch" />
<phase name="OperationInFaultPhase"/>
<phase name="soapmonitorPhase"/>
<phase name="RMPhase"/>
</phaseOrder>

<phaseOrder type="OutFaultFlow">
<phase name="RMPhase"/>
<phase name="soapmonitorPhase"/>
<phase name="OperationOutFaultPhase"/>
<phase name="PolicyDetermination"/>
<phase name="MessageOut"/>
</phaseOrder>

</axisconfig>

Copying the Sandesha2 Binaries to the Axis2/Java Directory

To copy the Sandesha2 binaries and modules to the Axis2/Java directory , complete the following
steps:
1.

Copy the Sandesha2 module file (sandesha2-<Version>.mar) from the
<Sandesha2_Home>

directory to the <Axis2 Home>/repository/modules directory.

2.

Copy the Sandesha2-policy-<Version>.jar and
sandesha2-core--<Version>.jar

files from the <Sandesha2_Home> directory to the

<Axis2_Home>/lib directory.

Modifying the Build File on Windows

To modify the <Axis2 Home>\webapp\build.xml build file, complete the following steps:
1.

Open the <Axis2 Home>\webapp\build.xml file in any text editor.

298 Installing Axis2/Java Framework

Advertising
This manual is related to the following products: