Troubleshooting: Recovering from application migration and application configuration errors

How to recover when application migration or configuration fails.

Problem

When migrating or configuring your WebSphere Commerce application, you encounter errors and the process fails. You have resolved the original error, but are unsure how to recover the migration effort and proceed.

Solution

  1. Open the WC_installdir\instances\wcs_instances file and remove the values that refer to the instance that you want to delete.
  2. Delete the entire WC_installdir\instances\instance_name directory, where instance_name is the name of the instance you want to delete.
  3. Delete the entire WAS_installdir\profiles\profile_name directory where profile_name is the name of the profile associated with the instance.
  4. Delete all files under the WC_installdir\temp directory.
  5. Open the WAS_installdir\properties\profileRegistry.xml file and delete the profile that corresponds to the instance you are deleting. For example, if you are deleting a profile named demo, you should delete the following element:
    <profile isAReservationTicket="false" isDefault="true" name="demo70" path="D:\Emerald\WAS7\profiles\demo70" template="D:\Emerald\WAS7\profileTemplates\default"/>
  6. Back up your WebSphere Commerce application again.
  7. Migrate your WebSphere Commerce application again
  8. Configure your WebSphere Commerce application again.