Enabling End Users to Specify Apache Tomcat Server Information

InstallAnywhere 2020 SP1

You can add to your projects run-time panels or consoles that enable end users to specify settings for Apache Tomcat servers before deploying Web applications to these servers. For example, you can enable end users to choose between deploying applications to local or remote Tomcat servers. You can also let end users specify information such as the path on the local server where they want to deploy the Web application or the name of the remote Tomcat server.

Tip • Before you can add the Tomcat server run-time panel or console to your project, you need to add an application host and specify which deployment options you want to offer. To learn more, see the following:

Adding an Application Host to Your Project
Specifying Which Deployment Options to Support for Apache Tomcat Servers

To add a Tomcat Runtime Deployment panel or console to your project:

1. In the Advanced Designer, on the Sequence page, click Pre-Install. The Pre-Install view opens.
2. Click the Add Action button. The Choose an Action dialog box opens.
3. Do one of the following:
To add a Choose Tomcat Deployment Option panel: On the Panels tab, click the Panel: Tomcat Runtime Deployment action, and then click the Add button. InstallAnywhere adds the action to the Pre-Install Action List.
To add a Choose Tomcat Deployment Option console: On the Consoles tab, click the Console: Tomcat Runtime Deployment action, and then click the Add button. InstallAnywhere adds the action to the Pre-Install Action List.

The Choose an Action dialog box remains open, enabling you to add additional actions as needed.

4. Use the arrow keys to move the action up or down in the action list. The actions are listed in the order that they are run on target systems.
5. In the Properties Customizer area, configure each of the action’s settings as needed.

For detailed information about each of the settings that you can configure for the actions, see the following:

Tomcat Runtime Deployment Panel Action
Tomcat Runtime Deployment Console Action

As an alternative to including a panel or console that enables end users to specify settings for Apache Tomcat servers, you can add Set InstallAnywhere Variable actions to a sequence in your project to configure connection information. To learn more, see Setting Variables in the Advanced Designer.

To configure connection information for silent installers, you can use the user-defined Tomcat-related variables that are available in the Tomcat Runtime Deployment actions or in the Deploy WAR/EAR action.

See Also