ANT target: ConfigureDatabase

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 on generating the properties file, see ANT targets.

 

Required parameters:

instance

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

merchantKey

The WebSphere Commerce site merchant key.

siteAdminPassword

The WebSphere Commerce site administrator's password.

AIX|Linux|Solaris|Windows:

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:

    • AIX|Linux|Solaris|Windows:

    • I5/OS|

      • WC_userdir/instances/instance/logs/createInstanceANT.log

      • WC_userdir/instances/instance/logs/createInstanceANT.err.log

  2. Identify which ANT target of ConfigureDatabase failed.

  3. Resolve the problem.

  4. Drop the database or clean up the Oracle Schema.

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


Related Concepts

ANT targets