Reference > ANT targets > Ant targets: Creating and configuring targets > CreateInstance


ANT target: ConfigureDatabase

Overview

ConfigureDatabase creates a database with schema, and populates the schema with the WebSphere Commerce bootstrap data.


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:

instance

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

merchantKey

The WebSphere Commerce site merchant key.

siteAdminPassword

The WebSphere Commerce site administrator's password.

dbaPassword

The database administrator's password.

dbUserPassword

The WebSphere Commerce database user's password.


Example


Recovery:

  1. If an error occurs, review the following log files:

      • 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

  2. Identify which ANT target of ConfigureDatabase failed.

  3. Resolve the problem.

  4. Drop the database or cleanup the Oracle Schema.

  5. Run the failed target and the remaining subsequent targets OR simply run the ConfigureDatabase target again to call all sub-targets.


Related concepts

ANT targets


+

Search Tips   |   Advanced Search