IBM SG24-6320-00 Manual Do Utilizador

Página de 306
6320ch_DEV_post_migration.fm
Draft Document for Review July 28, 2004 7:33 pm
128
 
Keeping Commerce Applications Updated WebSphere Commerce 5.1 to 5.6 Migration Guide
<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-root
 node must match the value entered in the 
Context root entry field when 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>