Reference > ANT targets > Ant targets: Creating and configuring targets > CreateInstance
ANT target: ConfigureCommerceServer
The ConfigureCommerceServer executes steps to configure the WebSphere Application Server for the WCS instance. The target...
- creates a profile, web server definition, virtual hosts, data source
- installs the WebSphere Commerce enterprise application.
- generates a web server plug-in configuration file
For detailed descriptions, see the individual pages for the subtargets.
Called by:
Calls:
- CreateProfile
- SetProcessExecution
- StartWAS
- CreateWebServerDefinition
- ModifyPluginCfgFileLocation
- ModifyHttpLogLocation
- CheckWASServerStarted
- SetServerProperties
- CreateVirtualHosts
- CreateJaasAuthData
- CreateJDBCProvider
- CreateDataSourceV5
- PrepareEAR
- PrimeInstanceXmlInTempEAR
- InstallEAR
- SetEARProperties
- RegeneratePlugin
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
- WC_INSTALL/bin/config_ant.sh -DinstanceName=instance -DmerchantKey=merchantKey -DsiteAdminPassword=siteAdminPassword -DdbaPassword=dbaPassword -DdbUserPassword=dbUserPassword ConfigureCommerceServer
- WC_INSTALL/bin/config_ant.sh -DinstanceName=instance -DmerchantKey=merchantKey -DsiteAdminPassword=siteAdminPassword -DdbUserPassword=dbUserPassword ConfigureCommerceServer
- WC_INSTALL/bin/config_ant.bat -DinstanceName=instance -DmerchantKey=merchantKey -DsiteAdminPassword=siteAdminPassword -DdbaPassword=dbaPassword -DdbUserPassword=dbUserPassword ConfigureCommerceServer
See also
- ANT target: CreateProfile
- ANT target: SetProcessExecution
- ANT target: StartWAS
- ANT target: StopWAS
- ANT target: CreateWebServerDefinition
- ANT target: ModifyPluginCfgFileLocation
- ANT target: ModifyHttpLogLocation
- ANT target: CheckWASServerStarted
- ANT target: SetServerProperties
- ANT target: CreateVirtualHosts
- ANT target: CreateJaasAuthData
- ANT target: CreateJDBCProvider
- ANT target: CreateDataSourceV5
- ANT target: PrepareEAR
- PrimeInstanceXmlInTempEAR
- ANT target: InstallEAR
- ANT target: SetEARProperties
- ANT target: RegeneratePlugin
- ANT target: AddWASService
- ANT target: CreateHTTPService
Related concepts