Ant target: InstallEAR

InstallEAR installs the installable EAR into the profile's application server (server1) and maps all EJB modules to the data sources that CreateDataSourceV5 Ant target creates. The CreateVirtualHosts Ant target creates the virtual hosts which InstallEAR maps to the virtual hosts.

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

Called by

ConfigureCommerceServer

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).

Optional parameters

sourceEARPath
The directory path to the expanded EAR to be deployed or file path to the collapsed EAR to be deployed

Example

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