Ant target: CreateWebServerDefinition

CreateWebServerDefinition creates a Web server definition on the WebSphere Application Server node for Web module bindings and Web server plug-in configurations.

For IBM i OS operating systemThe name of the Web server is webserver1, whereas the name of the IHS server is the instance name.

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

Called by

ConfigureCommerceServer

ReconfigureCell

Prerequisites

  • The Administrative server must be running to run the ConfigureCommerceServer target and any subtargets.
  • 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).

Example

  • For IBM i OS operating systemAIXLinuxWC_installdir/bin/config_ant.sh -DinstanceName=instance_name CreateWebServerDefinition
  • WindowsWC_installdir/bin/config_ant.bat -DinstanceName=instance_name CreateWebServerDefinition