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