Reference > ANT targets > Ant targets: Creating and configuring targets > CreateInstance
ANT target: ConfigureWorkspaceComponent
ConfigureWorkspaceComponent is used to configure the workspaces feature on an authoring server.
Called by:
Calls:
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).
- cmDBUserPwd
- The authoring server's workspace database user password.
- dbaPassword
- The database administrator's password.
- dbUserPassword
- The WebSphere Commerce database user's password.
Example
- WC_INSTALL/bin/config_ant.sh -DinstanceName=instance -DcmDBUserPwd=cmDBUserPwd -DdbaPassword=dbaPassword -DdbUserPassword=dbUserPassword ConfigureWorkspaceComponent
- WC_INSTALL/bin/config_ant.sh -DinstanceName=instance -DcmDBUserPwd=cmDBUserPwd -DdbUserPassword=dbUserPassword ConfigureWorkspaceComponent
- WC_INSTALL/bin/config_ant.bat -DinstanceName=instance -DcmDBUserPwd=cmDBUserPwd -DdbaPassword=dbaPassword -DdbUserPassword=dbUserPassword ConfigureWorkspaceComponent
Recovery:
- If an error occurs, review the following logs:
- WC_INSTALL/instances/instance/logs/createInstanceANT.log
- WC_INSTALL/instances/instance/logs/createInstanceANT.err.log
- WC_USER/instances/instance/logs/createInstanceANT.log
- WC_USER/instances/instance/logs/createInstanceANT.err.log
- Identify which ANT target of ConfigureWorkspaceComponent failed.
- Resolve the problem.
- Run the ConfigureWorkspaceComponent target again.
- ANT target: CreateWorkspace
Creates a workspace for an authoring server.
- ANT target: CreatePublishJaasAuthData
CreatePublishJaasAuthData creates the JAAS Authentication Data to be used for the Commerce data source. The JAAS Authentication Data object contains the Commerce database user ID and password.
- ANT target: CreatePublishJDBCProvider
CreatePublishJDBCProvider creates a new JDBC provider for connecting to the production server database. The quickpublish feature use this data source to move data from the authoring server database to the production server database.
- ANT target: CreatePublishDataSource
CreatePublishDataSource creates a data source which points to the production database. The quickpublish feature uses this data source to move data from the authoring server's database to the production server's database. CreatePublishDataSource adds the new data source under the current WebSphere Commerce JDBC Provider in the authoring server.
Related concepts