Reference > ANT targets > Ant targets: Removing configuration targets
ANT target: RemoveCommerceServer
The RemoveCommerceServer target removes the WebSphere Application Server configurations from the WCS 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.
The WebSphere Application server profile associated with the WCS instance is not deleted.
Called by:
Calls:
- RemoveJaasAuthData
- RemoveDataSourceV5
- RemoveJDBCProvide
- RemoveVirtualHosts
- UninstallEAR
- RegeneratePlugin
Prerequisites:
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
- The name of the WCS instance with which you are working (for example, demo).
Example
- WC_INSTALL/bin/config_ant.sh -DinstanceName=instance RemoveCommerceServer
- WC_INSTALL/bin/config_ant.bat -DinstanceName=instance RemoveCommerceServer
- ANT target: RemoveJaasAuthData
RemoveJaasAuthData removes the JAAS authentication data used to store the database user ID and password. This JAAS authentication data object is used by the WebSphere Commerce data source.
- ANT target: RemoveDataSourceV5
RemoveDataSourceV5 removes the Commerce data source configurations.
- ANT target: RemoveJDBCProvider
RemoveJDBCProvider removes the Commerce JDBC provider configurations.
- ANT target: RemoveVirtualHosts
RemoveVirtualHosts removes the Commerce virtual host configurations.
- ANT target: UninstallEAR
UninstallEAR uninstalls the Commerce EAR configurations.
- ANT target: RegeneratePlugin
RegeneratePlugin regenerates the Web server plugin configuration file (plugin-cfg.xml) for the Web server definition. This target regenerates the Web server plugin configuration file when there is a change in the virtual host settings and should be run for any changes to the virtual host configurations.
Related concepts