Ant target: ConfigureCommerceServer
The ConfigureCommerceServer executes steps to configure the WebSphere Application Server for the WebSphere Commerce instance. The target creates a profile, web server definition, virtual hosts, data source, and installs the WebSphere Commerce enterprise application. Finally, the web server plug-in configuration file is generated.
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_name
- 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.
- dbaPassword
- The database administrator's password.
- dbUserPassword
- The WebSphere Commerce database user's password.
Example
- WC_installdir/bin/config_ant.sh -DinstanceName=instance_name -DmerchantKey=merchantKey -DsiteAdminPassword=siteAdminPassword -DdbaPassword=dbaPassword -DdbUserPassword=dbUserPassword ConfigureCommerceServer
- WC_installdir/bin/config_ant.sh -DinstanceName=instance_name -DmerchantKey=merchantKey -DsiteAdminPassword=siteAdminPassword -DdbUserPassword=dbUserPassword ConfigureCommerceServer
- WC_installdir/bin/config_ant.bat -DinstanceName=instance_name -DmerchantKey=merchantKey -DsiteAdminPassword=siteAdminPassword -DdbaPassword=dbaPassword -DdbUserPassword=dbUserPassword ConfigureCommerceServer