Linux

Updating WebSphere Commerce configuration files in a cloned environment

Update configuration files to include the new host name.

Procedure

  1. Open the WC_eardir/xml/config/com.ibm.commerce.catalog-ext/wc-search.xml file.
  2. Replace the old host name with the new host name.
  3. Deploy the changes.
  4. Open the WC_installdir/instances/instance_name/xml/instance_name.xml file.
  5. Replace the old host name with the new host name.
  6. Ensure that your WebSphere Commerce instance is running and within a command-line utility, go to the WC_installdir/bin directory.
  7. Run the following script to propagate the changes to the wc-server.xml configuration file:
    ./config_ant.sh -DinstanceName=instance_name UpdateEAR