6320ch_install_56.fm

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

1.Ensure that the instance is not running. Refer to Appendix A., “Managing WebSphere Commerce components” on page 239 for details about checking instance status and stopping WebSphere Commerce instances.

2.Remove the server from WebSphere Application Server by running the following command from the <wc_home>\bin directory:

rmCommerceServer <instancename>

Important: The directory, the script is executed from must be

<wc_home>\bin. If executed from a different directory you will encounter the following error:

Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/commerce/config/components/WAS5AdminClient

3.Remove the instance database by running the following command from a DB2 command window:

db2 drop database <database_name>

Where <database_name> is the name of the instance database.

4.Remove the instance reference in the wcs_instances file:

a.Start the Configuration Manager as described in Appendix A., “Managing WebSphere Commerce components” on page 239.

b.Expand the tree until you find the instance to be deleted.

c.Right-click the instance name and select Delete instance....

d.You are asked if you really want to delete the instance. Click Yes.

e.A message informing that the instance was deleted appears. Click OK.

f.Close the Configuration Manager.

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

Page 196
Image 196
IBM SG24-6320-00 manual RmCommerceServer instancename