Ant target: RemoveCommerceServer

The RemoveCommerceServer target removes the WebSphere Application Server configurations from the WebSphere Commerce instance. The Ant target removes the data source, JDBC provider, virtual hosts, and uninstalls the enterprise application. Finally, the web server plug-in configuration file is regenerated.

Note: The WebSphere Application server profile associated with the WebSphere Commerce instance is not deleted.

Called by




The file must exist for this Ant target to work. For information about generating the properties file, see Ant targets.

Required parameters

The name of the WebSphere Commerce instance with which you are working (for example, demo).


  • WindowsWC_installdir/bin/ -DinstanceName=instance_name RemoveCommerceServer
  • For IBM i OS operating systemSolarisLinuxAIXWC_installdir/bin/config_ant.bat -DinstanceName=instance_name RemoveCommerceServer