Ant target: CreateDataSourceV5

CreateDataSourceV5 creates the WebSphere Commerce data source that is associated with the JDBC provider. The data source is used by WebSphere Commerce to connect to the database.

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

Called by



  • The Administrative server must be running to run the ConfigureCommerceServer target and any subtargets.
  • The file must exist for this Ant target to work. For information about generating the properties file, see Ant targets.

Required parameters

The name of the WebSphere Commerce instance with which you are working (for example, demo).
The WebSphere Commerce database user's password.


  • For IBM i OS operating systemSolarisLinuxAIXWC_installdir/bin/ -DinstanceName=instance_name -DdbUserPassword=dbUserPassword CreateDataSourceV5
  • WindowsWC_installdir/bin/config_ant.bat -DinstanceName=instance_name -DdbUserPassword=dbUserPassword CreateDataSourceV5