Specifying Which Deployment Options to Support for IBM WebSphere Servers
InstallAnywhere 2024 R2
When you are configuring a WebSphere server host in your project, you can specify which types of deployment options you want your installer to support. You can offer one or both of the following options:
• | Local or remote WebSphere server—The Web application is deployed to the server on which the installer is running, or the installer runs on one machine and connects to a separate WebSphere server to deploy the Web application. |
Note that the remote WebSphere server must be running at the time of deployment. In addition, it must be a stand-alone applications server.
• | Save the EAR or WAR file locally on the target system for later deployment. |
Note that the installer saves the EAR or WAR file in the following location:
$USER_INSTALL_DIR$/_$PRODUCT_NAME$_installation/websphere_undeployed_archive
When the product is uninstalled, the uninstaller removes the undeployed EAR or WAR file from that location.
To specify which deployment options that you want your installer to support:
1. | In the Advanced Designer, on the Organization page, click Hosts. The Hosts view opens. |
2. | In the Host List, click the WebSphere server host that corresponds with the server that you want to configure. |
3. | At the bottom of the view, in the Deployment Options area, select the check box of each option that you want your installer to support. Available options are: |
• | Local or remote WebSphere |
• | Save the WAR/EAR locally on the target system for later deployment |
Tip:As an alternative, you can configure deployment options when you click the WebSphere server host in the Install view on the Sequence page.
By default, InstallAnywhere uses the user-defined variable $WEBSPHERE_DEPLOYMENT_OPTION$ to indicate which option to use for deploying EAR and WAR files at run time. Valid values for this variable are:
Value |
Description |
1 |
Local or remote WebSphere server |
2 |
Save the EAR or WAR locally on the target system for later deployment |
You can use a run-time panel or console to enable end users to select which option that they want to use. As an alternative, you can add Set InstallAnywhere Variable actions to a sequence in your project to determine which option to use for deployment. To learn more, see Enabling End Users to Specify IBM WebSphere Server Information.
See Also