stopServer
Signals a running Tomcat server to shut down.
Target Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Tomcat Catalina Home |
| Yes | The CATALINA_HOME directory for the Tomcat installation. |
Tomcat Catalina Base |
| No | The CATALINA_BASE directory for the Tomcat server for Instance specific information like conf, bin, webapps etc. Defaults to Tomcat Catalina Home. |
Tomcat Manager URL |
| No | The url of the Manager web application within the Tomcat server. In Tomcat 6, the manager url is likely http://localhost:8080/manager. In Tomcat 7+, the manager url is likely http://localhost:8080/manager/text. |
Tomcat Username |
| No | The name of the Tomcat user with which to connect to the Manager web application. This user must be configured with the manager-script role. |
Tomcat Password |
| No | The password for the |
Tomcat Java Home |
| No | The |
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
Server Timeout |
| No | The number of seconds to timeout if the operation does not complete. Defaults to 30. |
Artifacts
This operation doesn't consume or produce any artifacts.
Endpoint Selection
This operation delegates the selection to the workflow developer to determine.
Endpoint Execution
This operation delegates the execution to the workflow developer to determine.
Special Considerations
This plugin has the following pre-requisites:
The
JAVA_HOME
environment variable must be set to a supported JDK for the version of Tomcat being used.The
FDTOM_CATALINA_BASE
property must be set to the value of theCATALINA_BASE
environment variable if using a multi-server Tomcat configuration.The Tomcat user specified by propertyÂ
FDTOM_USERNAME
 must be granted the manager (Tomcat 6.0.x) or manager-script (Tomcat 7+) role.
If the stopServer
operation is invoked on a server in the stopped status an error will be logged, but that error will be ignored.
- style