stopApplication (Tomcat)

Signals an existing application to make itself unavailable, but leave it deployed. Any request that comes in while an application is stopped will see an HTTP error 404.Ā This operation only works with Tomcat Manager.

Target Properties

Property Name

Property Code

Required

Description

Property Name

Property Code

Required

Description

Tomcat Catalina Home

FDTOM_CATALINA_HOME

Yes

The CATALINA_HOME directory for the Tomcat installation.

Tomcat Manager URL

FDTOM_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

FDTOM_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

FDTOM_PASSWORD

No

The password for theĀ FDTOM_USERNAMEĀ user.

Project Properties

Property Name

Property Code

Required

Description

Property Name

Property Code

Required

Description

Tomcat Context Root

FDTOM_CONTEXT_ROOT

Yes

The context root to configure for the web application being deployed.

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 Tomcat user specified by propertyĀ FDTOM_USERNAMEĀ 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.


The stopApplication operation will be ignored if the application is already in the stopped status.

The following macros are not currently supported in the footer:
  • style