Creating a Tomcat Stop Step

This step stops Tomcat on the agent machine.

Required properties:

Property Name Description
Launcher The location of the Tomcat startup script. For example: /opt/tomcat/bin/startup.sh.

Optional properties:

Property Name Description
Options New line-separated list of additional options to pass to startup script.
Shutdown timeout (in seconds) Enter a value here if you want the step to wait for the Tomcat instance to complete the shutdown sequence before continuing. You need to provide a port value below which will be used to detect when the shutdown process is complete.
Port Enter a port which the step would use to detect when the Tomcat instance is up and running. You can specify any of the connector ports your instance is configured with.
Hostname If your Tomcat instance is not listening on localhost then provide the hostname where it can be reached when it's running. Only used if waiting for Tomcat to complete its boot sequence. Defaults to localhost if not specified.
Catalina Home Provide a value if you want to overwrite the CATALINA_HOME environment variable or if one is not available.
JDK Home Provide a value if you want to overwrite the JAVA_HOME environment variable or if one is not available.
JRE Home Provide a value if you want to overwrite the JRE_HOME environment variable or if one is not available.