ControlTier > controltier-elements
 

TomcatServer

Overview

Apache Tomcat server deployment

This type can be used standalone, in which case a single "war" type package object can be assigned as a child of a TomcatServer object; or you may also assign multiple TomcatContext objects as children of TomcatSite, in which case each TomcatContext object may have one package and service management can be managed through a TomcatSite object which has both the TomcatServer and the TomcatContexts as children. The TomcatSite will be deployed alongside TomcatServer and TomcatContext on the client node. TomcatSite objects can then be grouped into Sites that are deployed to the server instance, allowing Jobcenter usage.

Attach a TomcatZip as a dependency so that ControlTier will install Tomcat when the TomcatServer object is deployed. Optionally attach a JavaBin object. (If one is not provided, Tomcat will use the same JAVA_HOME as ControlTier.)

Attach a PlatformJar object if you wish to install other platform-specific packages; e.g. JDBC drivers.

Attach a tgz or a ConfigZip dependency to install packaged configuration files.

Attach an Rdb or subtype to use data source generation.

This object can also be a child dependency of ApacheSystemService, in which case the ApacheSystemService instance will route certain requests to Tomcat via AJP13.

The "basedir" property is the CATALINA_BASE directory, and the "installroot" is used as the CATALINA_HOME directory.

See Also