Ant target: ConfigureWebServer

ConfigureWebServer supports IBM HTTP Server. ConfigureWebServer can also reconfigure the Web server to restore the initial configuration.

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

Called by

CreateInstance

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).
ftpUserPwd (remote and FTP option only)
The user password of the FTP account being used to configure the web server.

Example

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

Recovery

  1. If an error occurs, review the following logs:
    • SolarisLinuxAIXWindows
      • WC_installdir/instances/ instance_name/logs/createInstanceANT.log
      • WC_installdir/instances/ instance_name/logs/createInstanceANT.err.log
    • For IBM i OS operating system
      • WC_userdir/instances/ instance_name/logs/createInstanceANT.log
      • WC_userdir/instances/ instance_name/logs/createInstanceANT.err.log
  2. Identify which Ant target of ConfigureWebServer failed.
  3. Resolve the problem.
  4. Run the ConfigureWebServer target again.