IBM SG24-6320-00 Manuale Utente

Pagina di 306
 Chapter 12. Post-migration steps 
233
Draft Document for Review July 28, 2004 7:33 pm
6320ch_post_migration.fm
1. Stop the WebSphere Commerce instance that is running within WebSphere 
Application Server V5.0.2.
2. Locate the original EJB JAR file 
(WebSphereCommerceServerExtensionsData.jar) in the WebSphere 
Commerce instance. The EJB file will be located in:
<was_home>\installedApps\host_name\instance_name.ear
3. Make a backup copy of the original EJB JAR file to a convenient directory
4. Overwrite original EJB JAR file on the production machine with the new file 
from the development machine
5. If the EJB deployment descriptor has been modified, perform the following 
steps: 
a. Locate the deployment repository (META-INF directory) on the production 
machine. The META-INF directory can be found here: 
<was_home>\config\cells\hostname 
\applications\instance_name.ear\deployments\ 
instance_name\WebSphereCommerceServerExtensionsData.jar\META-I
NF
b. Backup all of the files in the directory to a convenient directory
c. Use a tool to open the WebSphereCommerceServerExtensionsData.jar 
file and view its contents. 
d. Extract the contents of the META-INF directory from the 
WebSphereCommerceServerExtensionsData.jar file into the directory 
from step 5a.
6. Restart the WebSphere Commerce instance.
12.2.2  Deploying commands and databeans
Deploying the commands and databeans consists of 2 steps:
1. Exporting the JAR file
2. Applying the JAR file to the production environment
Export the JAR file
To export the commands and databeans perform the following steps:
1. Open WebSphere Commerce development environment (Start > Programs 
> IBM WebSphere Commerce development environment > WebSphere 
Commerce development environment
) and switch to the Project Navigator 
view