Ant target: RemoveVirtualHosts

RemoveVirtualHosts removes the Commerce virtual host configurations.

Called by

RemoveCommerceServer

Prerequisites

  • The Administrative server must be running to run the RemoveCommerceServer target and any subtargets.
  • The createInstance.properties file must exist for this Ant target to work. For information about generating the properties file, see Ant targets.

Required parameters

instance_name
The name of the WebSphere Commerce instance with which you are working (for example, demo).
Note: Due to changes in virtual host configuration, you should run the RegeneratePlugin target to regenerate the Web server plug-in configuration file.

Example

  • For IBM i OS operating systemAIXLinuxWC_installdir/bin/config_ant.sh -DinstanceName=instance_name RemoveVirtualHosts
  • WindowsWC_installdir/bin/config_ant.bat -DinstanceName=instance_name RemoveVirtualHosts