ControlTier > controltier-elements
 

TomcatZip

Zip archive of Apache Tomcat

Overview

Open in Workbench TomcatZip: Zip archive of Apache Tomcat

This type allows for the installation of Tomcat on a ControlTier node. Refer to objects/sample.xml for example package definitions to use in ProjectBuilder. Attach this package as a child object of TomcatServer in order to install Tomcat when the service is deployed. You may also attach this package to TomcatAntBuilder for build processes that require a copy of Tomcat to be present.

Design

Super Type
PlatformZip
Role Concrete. (Objects can be created.)
Instance Names Unique
Notification false
Template Directory
Data View Children, proximity: 1
Logger Name TomcatZip

Constraints

Allowed Child Dependencies

  • Package

Allowed Parent Dependencies

Attributes

Exported Attributes

Name Property
release package-release
tomcatPackageBase package-base

Commands

Note
Commandline options displayed in square brackets "[]" are optional. If an option expects arguments, then angle brackets are shown after the option "<>". Any default value is shown within the brackets.

assertPackageIsInstalled

Confirm the package process is installed.

Checks for the presence of CATALINA_HOME/bin/startup.sh to confirm package installation

Usage
assertPackageIsInstalled [-basedir <>] [-depot <>] [-executable <>] [-installroot <>] [-name <>] [-nodeps] [-nodir] [-nomodule] [-nopackageinstall] [-noproperties] [-script <>] [-subdirs <>] [-type <>]

Options

Option Description
basedir instance directory
depot project depot
executable executable to run
installroot package installroot
name object name
nodeps do not install dependencies
nodir do not create directories
nomodule do not update module
nopackageinstall do not install package
noproperties do not update properties
script script to execute
subdirs directory list
type object type

extract

Extract the package archive.

Checks that the basename of the installroot is the same as the package base name; if not, fails. Checks to see if LICENSE is present. If so, skips extraction.

Usage
extract [-base <>] -filename <> [-filtersfile <>] -installroot <> -url <>

Options

Option Description
base package base name
filename the filename
filtersfile filtersfile
installroot the install root
url the repo url