Skip to content

Apache Tomcat - Process Steps

Check Application Status

Check the status of a deployed application against an expected status.

NameTypeDescriptionRequired
Expected StatusEnumerationThe expected status of the application. If the application does not have this status, this step will fail.Yes
Tomcat ApplicationStringThe path of the application to check the status of. This is case-sensitive. For example: /docsYes
Tomcat Manager PasswordPasswordThe password to use to log in to the Tomcat Manager interface.Yes
Tomcat Manager URLStringThe URL of the Tomcat Manager interface.Yes
Tomcat Manager User NameStringThe user name to use to log in to the Tomcat Manager interface.Yes

Deploy Application

Deploy a web application to Tomcat.

NameTypeDescriptionRequired
Context NameStringThe context that is being deployed.Yes
Context XML pathStringThe path of the context configuration file for this application, if any.No
Tomcat Manager PasswordPasswordThe password to use to log in to the Tomcat Manager interface.Yes
Tomcat Manager URLStringThe URL of the Tomcat Manager interface.Yes
Tomcat Manager User NameStringThe user name to use to log in to the Tomcat Manager interface.Yes
War File PathStringThe path to the WAR file to be deployed.Yes

Start Application

Start a web application that is deployed on Tomcat.

NameTypeDescriptionRequired
Context NameStringThe context that is being deployed.Yes
Tomcat Manager PasswordPasswordThe password to use to log in to the Tomcat Manager interface.Yes
Tomcat Manager URLStringThe URL of the Tomcat Manager interface.Yes
Tomcat Manager User NameStringThe user name to use to log in to the Tomcat Manager interface.Yes

Start Tomcat

Start Tomcat on the agent machine.

NameTypeDescriptionRequired
Catalina BaseStringThe path name of the Tomcat instance to be used. Provide a value if you want to overwrite the CATALINA_BASE environment variable or no value is available.No
Catalina HomeStringThe path name to the Tomcat installation directory. Provide a value if you want to overwrite the CATALINA_HOME environment variable or no value is available.No
HostnameStringThe host server that the specified Tomcat instance is listening on. If the instance is not listening on localhost, provide the hostname where the host server can be reached when it is running. Use this property only if you are waiting for Tomcat to complete the boot sequence. The default value of localhost is used if no value is specified.No
Java HomeStringThe location of the Java installation. Provide a value if you want to overwrite the JAVA_HOME environment variable or no value is available.No
LauncherStringThe location of the Tomcat startup script, for example, /opt/tomcat/bin/startup.sh.Yes
OptionsStringA new line separated list of additional options to pass to the startup script.No
PortStringThe port that the step uses to detect when the Tomcat instance is running. You can specify any of the connector ports that your instance is configured with.No
Startup timeout (in seconds)StringThe value that the step uses to wait for the Tomcat instance to complete the boot process before continuing. You must provide a port value, which is used to detect when the boot process is complete.No

Stop Application

Stop a deployed web application on Tomcat.

NameTypeDescriptionRequired
Context NameStringThe context that is being stopped.Yes
Tomcat Manager PasswordPasswordThe password to use to log in to the Tomcat Manager interface.Yes
Tomcat Manager URLStringThe URL of the Tomcat Manager interface.Yes
Tomcat Manager User NameStringThe user name to use to log in to the Tomcat Manager interface.Yes

Stop Tomcat

Stop Tomcat on the agent computer.

NameTypeDescriptionRequired
Catalina BaseStringProvide a value if you want to overwrite the CATALINA_BASE environment variable or if one is not available.No
Catalina HomeStringProvide a value if you want to overwrite the CATALINA_HOME environment variable or if one is not available.No
HostnameStringIf your Tomcat instance is not listening on localhost then provide the hostname where it can be reached when its running. Use this property only if you are waiting for Tomcat to complete the shutdown sequence. The default value of localhost is used if no value is specified.No
Java HomeStringProvide a value if you want to overwrite the JAVA_HOME environment variable or if one is not available.No
LauncherStringThe location of the shutdown executable file, for example, /opt/tomcat/bin/shutdown.sh.Yes
OptionsStringA new line separated list of command line options to pass to the launcher.No
PortStringEnter a port for the step to use to detect when the Tomcat instance is stopped. You can specify any of the connector ports that your instance is configured with.No
Shutdown timeout (in seconds)StringEnter a value to have the step to wait for the Tomcat instance to complete the shutdown sequence before continuing. You have to provide a port value lower than the port value used to detect when the shutdown process is complete.No

Undeploy Application

Undeploy a web application on Tomcat.

NameTypeDescriptionRequired
Context NameStringThe context that is being deployed.Yes
Tomcat Manager PasswordPasswordThe password to use to log in to the Tomcat Manager interface.Yes
Tomcat Manager URLStringThe URL of the Tomcat Manager interface.Yes
Tomcat Manager User NameStringThe user name to use to log in to the Tomcat Manager interface.Yes