Ant target: ConfigureWorkspaceComponent

ConfigureWorkspaceComponent is used to configure the workspaces

Important: This Ant target is to be used only as a part of WebSphere Commerce instance creation.

Called by

CreateInstance

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

dbaname
The name of the DBA user.
cmDBUserPwd
The database user password on the production database.
LinuxAIXWindowsdbaPassword
LinuxAIXWindowsThe DBA password on the staging or authoring database.
dbUserPassword
The DB user password on the staging/authoring database.

Example

  • LinuxAIXWC_installdir/bin/config_ant.sh -DdbaName=dbaname -DcmDBUserPwd=cmDBUserPwd -DdbaPassword=dbaPassword -DdbUserPassword=dbUserPassword ConfigureWorkspaceComponent
  • For IBM i OS operating systemWC_installdir/bin/config_ant.sh -DinstanceName=instance_name -DcmDBUserPwd=cmDBUserPwd -DdbUserPassword=dbUserPassword ConfigureWorkspaceComponent
  • WindowsWC_installdir/bin/config_ant.bat -DinstanceName=instance_name -DcmDBUserPwd=cmDBUserPwd -DdbaPassword=dbaPassword -DdbUserPassword=dbUserPassword ConfigureWorkspaceComponent

Recovery

  1. If an error occurs, review the following logs:
    • LinuxAIXWindows
      • WC_installdir/instances/instance_name/logs/createInstanceANT.log
      • WC_installdir/instances/instance_name/logs/createInstanceANT.err.log
    • For IBM i OS operating system
      • WC_userdir/instances/instance_name/logs/createInstanceANT.log
      • WC_userdir/instances/instance_name/logs/createInstanceANT.err.log
  2. Identify which Ant target of ConfigureWorkspaceComponent failed.
  3. Resolve the problem.
  4. Run the ConfigureWorkspaceComponent target again.