6320ch_DEV_post_migration.fm

Draft Document for Review July 28, 2004 7:33 pm

<modules startingWeight="1010" uri="wcs.war" xmi:id="WebModuleDeployment_6" xmi:type="appdeployment:WebModuleDeployment">

<targetMappings target="ServerTarget_1" xmi:id="DeploymentTargetMapping_19"/> </modules>

:

:

:

4.Edit the application.xml file located in one of the following directories, depending on the type of test environment that you use:

Full test environment:

<wctoolkit_home>\applications\wcfull.ear\META-INF

Lightweight test environment:

<wctoolkit_home>\applications\wclight.ear\META-INF

As shown in the excerpt in Example 8-3.If you entered a different name for the Web Project replace static_http in the file for the one you entered.

The value for the id attribute on the module node (WebModule_1041293846136 in the example) should be chosen such that it is unique within the application.xml file.

The value in the context-rootContext root entry field when

node must match the value entered in the you created the Web project.

Example 8-3 Excerpt from the application.xml file

:

:

:

<module id="WebModule_1041293846133"> <web>

<web-uri>Stores.war</web-uri> <context-root>/webapp/wcs/stores</context-root>

</web>

</module>

<module id="WebModule_1041293846136"> <web>

<web-uri>static_http.war</web-uri> <context-root>/</context-root>

</web>

</module>

<module id="WebModule_1041293846134"> <web>

<web-uri>wcs.war</web-uri> <context-root>/wcs</context-root>

</web>

</module>

128Keeping Commerce Applications Updated WebSphere Commerce 5.1 to 5.6 Migration Guide

Page 146
Image 146
IBM SG24-6320-00 manual Example 8-3 Excerpt from the application.xml file