Reference > ANT targets > Ant targets: Creating and configuring targets > CreateInstance


ANT target: ConfigureWebServer

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


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

The name of the WCS 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


Recovery:

  1. If an error occurs, review the following logs:

      • WC_INSTALL/instances/ instance/logs/createInstanceANT.log

      • WC_INSTALL/instances/ instance/logs/createInstanceANT.err.log

      • WC_USER/instances/ instance/logs/createInstanceANT.log

      • WC_USER/instances/ instance/logs/createInstanceANT.err.log

  2. Identify which ANT target of ConfigureWebServer failed.

  3. Resolve the problem.

  4. Run the ConfigureWebServer target again.


Related concepts

ANT targets


+

Search Tips   |   Advanced Search