This manual describes the Deployit Tomcat Plugin.
The Tomcat Plugin supports the deployment, re-deployment and undeployment of a deployment package to a Tomcat servlet container.
In addition to the requirements for Deployit, the Tomcat Plugin has the following additional requirements:
catalina.sh)The Tomcat plugin supports the following versions of Tomcat:
The Tomcat Plugin supports the following features:
| Concept | Remarks |
|---|---|
| WAR files | Deploy and undeploy WAR archives to Tomcat. |
| Context files | Deploy and undeploy folders containing context files. |
| ActiveMQ connection factory | Deploy and undeploy ActiveMQ connection factories. |
| Datasources | Deploy and undeploy datasources to Tomcat. |
| JNDI Resources | Deploy and undeploy resources in the Tomcat JNDI tree. |
| Libraries | Deploy and undeploy Java libraries to Tomcat. |
| Tomcat Managed Server | Deploy and undeploy to Tomcat servers using the Tomcat manager app. |
| Tomcat Unmanaged Server | Deploy and undeploy to Tomcat servers without the Tomcat manager app. |
When the Tomcat runbook is triggered, the plugin populates the steplist with steps based on the executed task. First, the Tomcat runbook determines which servers are affected by the pending task. These are all the Tomcat servers that are a target of one of the deployed items in the deployment or the Tomcat server that a deployed application is running on in case of an undeploy.
The Tomcat runbook adds steps in the following order:
The Tomcat Plugin defines configuration items (CIs) needed to deploy to Tomcat middleware. To get more information about these CIs, use Deployit's command line interface (CLI). See the Deployit Command Line Interface (CLI) Manual for more information.
Folder in the Deployment Package containing Tomcat context files
Type: com.xebialabs.deployit.plugin.tomcat.ci.ContextFiles
Properties:
A mapping of a ContextFiles CI to a TomcatServer
Type: com.xebialabs.deployit.plugin.tomcat.ci.ContextFilesMapping
Properties:
Description unavailable
Type: com.xebialabs.deployit.plugin.tomcat.ci.TomcatActiveMQConnectionFactory
Properties:
A mapping of Configuration Files CI to a TomcatServer
Type: com.xebialabs.deployit.plugin.tomcat.ci.TomcatConfigurationFilesMapping
Properties:
Description unavailable
Type: com.xebialabs.deployit.plugin.tomcat.ci.TomcatDataSource
Properties:
Description unavailable
Type: com.xebialabs.deployit.plugin.tomcat.ci.TomcatJNDIResources
Properties:
Description unavailable
Type: com.xebialabs.deployit.plugin.tomcat.ci.TomcatJNDIResourcesMapping
Properties:
A mapping of Librairies Files CI to a TomcatServer
Type: com.xebialabs.deployit.plugin.tomcat.ci.TomcatLibrariesMapping
Properties:
Tomcat Server instance
Type: com.xebialabs.deployit.plugin.tomcat.ci.TomcatManagedServer
Properties:
Description unavailable
Type: com.xebialabs.deployit.plugin.tomcat.ci.TomcatResourceMapping
Properties:
Tomcat Server instance
Type: com.xebialabs.deployit.plugin.tomcat.ci.TomcatUnmanagedServer
Properties:
A mapping of a WAR to a Tomcat server
Type: com.xebialabs.deployit.plugin.tomcat.ci.TomcatWarMapping
Properties: