Ant target: EnableTriggersAndPopulateSchema

EnableTriggersAndPopulateSchema creates stored procedures, enables the triggers, and massloads the WebSphere Commerce bootstrap data and NL (supported languages) data. If you choose to use an existing WebSphere Commerce schema, ensure that bootstrap data, stored procedures, or both, do not exist. Otherwise, this target will not run successfully.

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

Calls

Called by ConfigureDatabase.

Calls:
  • PopulateInitialBootstrapData
  • CreateStoredProcedures
  • CreateSchemaCaseInsensitiveSearch
  • CreateSchemaConstraints
  • PopulateV7MergedBootstrapData
  • PopulateAdvancedBootstrapData
  • Create400StageTriggers
  • CreateStageTriggers
  • CreatePerfTriggers
  • CreateComponentTriggers
  • RunStats
  • PopulateSiteAdminPassword
  • GetVersion
  • Cr8CacheInvalidators
  • ConfigureDatabaseFixpack

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_name
The name of the WebSphere Commerce instance with which you are working (for example, demo).
siteAdminPassword
The WebSphere Commerce site administrator's password.
merchantKey
The WebSphere Commerce site merchant key.
dbUserPassword
The WebSphere Commerce database user's password.

Example

  • For IBM i OS operating systemSolarisLinuxAIXWC_installdir/bin/config_ant.sh -DinstanceName= instance_name -DsiteAdminPassword=siteAdminPassword -DmerchantKey=merchantKey -DdbUserPassword=dbUserPassword EnableTriggersAndPopulateSchema
  • WindowsWC_installdir/bin/config_ant.bat -DinstanceName= instance_name -DsiteAdminPassword=siteAdminPassword -DmerchantKey=merchantKey -DdbUserPassword=dbUserPassword EnableTriggersAndPopulateSchema