ANT target: RegisterInstance

RegisterInstance generates the master instance configuration XML file and registers the instance into the Configuration Manager tool. RegisterInstance can be used to regenerate the master instance configuration XML file based on the property values in the ANT properties file.

Any customizations made in Configuration Manager or manually to the instance.xml file will be lost if you run this target. The master instance configuration file is contained in these files:

The instance property values are contained in these files:

 

Called by:

CreateInstance

 

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).

siteAdminPassword

The WebSphere Commerce site administrator's password.

merchantKey

The WebSphere Commerce site merchant key.

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. Resolve the problem.

  3. Execute the RegisterInstance target again.


Related Concepts

ANT targets