Tomcat Runtime Deployment Panel Action

InstallAnywhere 2024 R2

With the Tomcat Runtime Deployment panel action, you can offer end users one or more options for deploying to Tomcat servers, and also enable them to specify server connection information. The variables that are used to store the values that end users specify can be used with the Deploy WAR/EAR Archive action to deploy Web applications to the Tomcat server.

The Tomcat Runtime Deployment customizer includes the following tabs:

General Settings
Image Settings, Label Settings, and Help Settings

General Settings

The General Settings tab of the Tomcat Runtime Deployment customizer includes the following settings:

General Settings Tab on the Tomcat Runtime Deployment Customizer

Control

Description

Title

Enter the text that you want to use in the title bar of the panel. The default value is:

Choose Tomcat Deployment Option

Instructions

Enter the text that you want to display on the Choose Tomcat Deployment Option panel. The default value is:

Where would you like to deploy the WAR?

Associated Tomcat Server

Select the name of the Tomcat server that you want to be associated with the Choose Tomcat Deployment Option panel.

Deployment Option Variable

Specify the variable that indicates the deployment option that is used for the WAR file.

By default, the entry in this setting is the user-defined variable $TOMCAT_DEPLOYMENT_OPTION$. You can specify a different variable if needed.

The variable can be set to one of the following values:

1—Local Tomcat
2—Remote Tomcat
3—Save the WAR locally on the target system for later deployment

Server Path Variable

Specify the variable that indicates the path on the server where the WAR file should be deployed.

By default, the entry in this setting is the user-defined variable $TOMCAT_SERVER_PATH$. You can specify a different variable if needed.

This setting applies to local Tomcat servers; this setting is available if the Local Tomcat check box is selected for the associated Tomcat server host.

Host Name Variable

Specify the variable that indicates the name of the Tomcat server or its IP address.

By default, the entry in this setting is the user-defined variable $TOMCAT_HOSTNAME$. You can specify a different variable if needed.

This setting applies to remote Tomcat servers; this setting is available if the Remote Tomcat check box is selected for the associated Tomcat server host.

Port Variable

Specify variable that indicates the port number on which Tomcat is running.

By default, the entry in this setting is the user-defined variable $TOMCAT_PORT$. You can specify a different variable if needed.

This setting applies to remote Tomcat servers; this setting is available if the Remote Tomcat check box is selected for the associated Tomcat server host.

User Name Variable

Specify the variable that indicates the user name for the account that is specified in the tomcat-users.xml file (which is in the conf folder in the Tomcat directory).

By default, the entry in this setting is the user-defined variable $TOMCAT_USERNAME$. You can specify a different variable if needed.

This setting applies to remote Tomcat servers; this setting is available if the Remote Tomcat check box is selected for the associated Tomcat server host.

Password Variable

Specify the variable that indicates the password that corresponds with the specified user name for an account that is specified in the tomcat-users.xml file (which is in the conf folder in the Tomcat directory).

By default, the entry in this setting is the user-defined variable $TOMCAT_PASSWORD$. You can specify a different variable if needed.

This setting applies to remote Tomcat servers; this setting is available if the Remote Tomcat check box is selected for the associated Tomcat server host.

SSL Enabled

Indicate whether SSL is enabled on the remote Tomcat server.

By default, the entry in this setting is the user-defined variable $TOMCAT_SSL_CONNECTION_STATUS$. You can specify a different variable if needed.

If this variable is set to Yes at run time, the action uses SSL for deployment to the server.

This setting applies to remote Tomcat servers; this setting is available if the Remote Tomcat check box is selected for the associated Tomcat server host.

Image Settings, Label Settings, and Help Settings

For information on using the options on the Image Settings, Label Settings, and Help Settings tabs, see Panel Action Settings.

See Also