Signals an existing application to shut itself down and reload. This can be useful when the web application context is not reloadable and you have updated classes or property files in the /WEB-INF/
classes directory classes
directory or when you have added or updated jar files in the /WEB-INF/lib
directory directory.
Environment/Instance Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Tomcat Catalina Home |
| Yes | The pathname to the directory in which Tomcat has been installed.CATALINA_HOME directory for the Tomcat installation. |
Tomcat Manager URL |
| YesNo | 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 |
| YesNo | 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 |
| YesNo | The password for the the |
Project Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Tomcat Context Root |
| Yes | The context root to configure for the web application being reloaded. The value must start with a forward slash deployed. |
Tomcat War Name |
| Yes | The name of the web application archive in the artifacts directory (e.g. / sample.war) or directory containing the unpacked war contents. If a relative path is provided, it is assumed relative to the Host appBase directory. |
InputsInputs
Input Name | Input Code | Required | Description |
|
|
---|---|---|---|
Outputs
Output Name | Required | Description |
|
|
---|---|---|---|---|
Artifacts
This operation doesn't consume or produce any artifacts.
...
This operation will select all available endpoints associated to the environment/instanceEnvironment/Instance.
@Since 5.0.0.6 This operation delegates the selection to the workflow developer to determine.
Endpoint Execution
This operation will randomly execute on one of the endpoints identified during selection.
@Since 5.0.0.6 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 Tomcat user specified by property property
FDTOM_USERNAME
must must be granted the manager (Tomcat 6.0.x) or manager-script (Tomcat 7+) role. - The target Tomcat server must be running prior to calling this operation.
- An application with the given
FDTOM_CONTEXT_ROOT
must be deployed and be in the running state. - Application reloading (to pick up changes to the classes or web.xml file) is not supported when a web application is deployed directly from a WAR file. It only works when the web application is deployed from an unpacked directory. If you are using a WAR file, you should undeploy and then deploy again to pick up your changes.
...