Deployit Tomcat Plugin Manual

Preface

This manual describes the Deployit Tomcat Plugin.

Introduction

The Tomcat Plugin supports the deployment, re-deployment and undeployment of a deployment package to a Tomcat servlet container.

Tomcat Plugin Requirements

In addition to the requirements for Deployit, the Tomcat Plugin has the following additional requirements:

Supported Tomcat Versions

The Tomcat plugin supports the following versions of Tomcat:

Supported Tomcat Features

The Tomcat Plugin supports the following features:

ConceptRemarks
WAR filesDeploy and undeploy WAR archives to Tomcat.
Context filesDeploy and undeploy folders containing context files.
ActiveMQ connection factoryDeploy and undeploy ActiveMQ connection factories.
DatasourcesDeploy and undeploy datasources to Tomcat.
JNDI ResourcesDeploy and undeploy resources in the Tomcat JNDI tree.
LibrariesDeploy and undeploy Java libraries to Tomcat.
Tomcat Managed ServerDeploy and undeploy to Tomcat servers using the Tomcat manager app.
Tomcat Unmanaged ServerDeploy and undeploy to Tomcat servers without the Tomcat manager app.

Tomcat Runbook

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:

Tomcat Configuration Items (CIs)

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.

ContextFiles

Folder in the Deployment Package containing Tomcat context files

Type: com.xebialabs.deployit.plugin.tomcat.ci.ContextFiles

Properties:

ContextFilesMapping

A mapping of a ContextFiles CI to a TomcatServer

Type: com.xebialabs.deployit.plugin.tomcat.ci.ContextFilesMapping

Properties:

TomcatActiveMQConnectionFactory

Description unavailable

Type: com.xebialabs.deployit.plugin.tomcat.ci.TomcatActiveMQConnectionFactory

Properties:

TomcatConfigurationFilesMapping

A mapping of Configuration Files CI to a TomcatServer

Type: com.xebialabs.deployit.plugin.tomcat.ci.TomcatConfigurationFilesMapping

Properties:

TomcatDataSource

Description unavailable

Type: com.xebialabs.deployit.plugin.tomcat.ci.TomcatDataSource

Properties:

TomcatJNDIResources

Description unavailable

Type: com.xebialabs.deployit.plugin.tomcat.ci.TomcatJNDIResources

Properties:

TomcatJNDIResourcesMapping

Description unavailable

Type: com.xebialabs.deployit.plugin.tomcat.ci.TomcatJNDIResourcesMapping

Properties:

TomcatLibrariesMapping

A mapping of Librairies Files CI to a TomcatServer

Type: com.xebialabs.deployit.plugin.tomcat.ci.TomcatLibrariesMapping

Properties:

TomcatManagedServer

Tomcat Server instance

Type: com.xebialabs.deployit.plugin.tomcat.ci.TomcatManagedServer

Properties:

TomcatResourceMapping

Description unavailable

Type: com.xebialabs.deployit.plugin.tomcat.ci.TomcatResourceMapping

Properties:

TomcatUnmanagedServer

Tomcat Server instance

Type: com.xebialabs.deployit.plugin.tomcat.ci.TomcatUnmanagedServer

Properties:

TomcatWarMapping

A mapping of a WAR to a Tomcat server

Type: com.xebialabs.deployit.plugin.tomcat.ci.TomcatWarMapping

Properties: