ControlTier > controltier-elements
 

TomcatServer

A tomcat deployment

Overview

Open in Workbench TomcatServer: A tomcat deployment

Design

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

Constraints

Allowed Child Dependencies

1: These types have a Singleton constraint. Only one instance may be added as a resource.

Allowed Parent Dependencies

Attributes

Exported Attributes

Name Property
catalinaBase deployment-basedir
catalinaHome deployment-install-root

Defaults for Imported Attributes

Name Default
ajpPort 8009
contextFileName ROOT.xml
generateApplicationTomcatContext false
generateDefaultTomcatContext false
httpsPort 8443
javaHome ${env.JAVA_HOME}
javaOptions
port 8080
release 5.x
shutdownPort 8005
timeout 10
tomcatMgmtStrategy default
tomcatNewEnvironment true
tomcatPath /bin:/usr/bin

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.

Docs-Generate

generates all defined docs

Usage
Docs-Generate [-archivedir <${entity.instance.dir}/var>] [-basedir <>] [-install_root <>] [-java_home <>] [-javaoptions <>]

Options

Option Description
archivedir dir to store current output docs
basedir tomcat instance dir
install_root tomcat installation root
java_home tomcat java_home
javaoptions tomcat java options

assertServiceIsDown

checks if the service is down

Usage
assertServiceIsDown [-basedir <>] [-port <>]

Options

Option Description
basedir tomcat base directory
port listening port

assertServiceIsUp

checks if the service is running

Usage
assertServiceIsUp [-basedir <>] [-port <>]

Options

Option Description
basedir tomcat base directory
port listening port

startService

starts the service

Usage
startService [-basedir <>] [-install_root <>] [-java_home <>] [-javaoptions <>] [-newenvironment <>] [-path <>] [-timeout <>]

Options

Option Description
basedir catalina base
install_root catalina home
java_home jre install dir
javaoptions Java options
newenvironment Whether or not to start Tomcat with a new environment
path PATH to use with Tomcat
timeout timeout in seconds

stopService

starts the service

Usage
stopService [-basedir <>] [-install_root <>] [-java_home <>] [-port <>] [-timeout <>]

Options

Option Description
basedir catalina base
install_root catalina home
java_home jre install dir
port listening port
timeout timeout in seconds

Related Types

The following types are defined for use with TomcatServer.

FilePath

Overview

Open in Workbench FilePath: A file path/directory

Design

Super Type
Setting
Role Abstract. (Objects cannot be created.)
Instance Names Unique

JavaHomePath

Overview

Open in Workbench JavaHomePath: The Java install root

Design

Super Type
FilePath
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies
  • Service

Attributes

Exported Attributes
Name Property
javaHome settingValue

TomcatSetting

Overview

Open in Workbench TomcatSetting: Tomcat configuration setting

Design

Super Type
Setting
Role Abstract. (Objects cannot be created.)
Instance Names Unique

TomcatMgmtStrategy

Overview

Open in Workbench TomcatMgmtStrategy: Specifies the Tomcat Management Strategy

Design

Super Type
TomcatSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
tomcatMgmtStrategy settingValue

GenerateDefaultTomcatContext

Overview

Open in Workbench GenerateDefaultTomcatContext: determines if a default context should be generated

Design

Super Type
TomcatSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
generateDefaultTomcatContext settingValue

GenerateApplicationTomcatContext

Overview

Open in Workbench GenerateApplicationTomcatContext: determines if a application context should be generated

Design

Super Type
TomcatSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
generateApplicationTomcatContext settingValue

TomcatNewEnvironment

Overview

Open in Workbench TomcatNewEnvironment: Whether or not to start Tomcat with a new environment

Design

Super Type
TomcatSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
tomcatNewEnvironment settingValue

TomcatPath

Overview

Open in Workbench TomcatPath: PATH used by Tomcat

Design

Super Type
TomcatSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
tomcatPath settingValue

TomcatPort

Overview

Open in Workbench TomcatPort: Port used by Tomcat

Design

Super Type
TomcatSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

TomcatServerPort

Overview

Open in Workbench TomcatServerPort: Tomcat server port

Design

Super Type
TomcatPort
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
port settingValue

TomcatSecureServerPort

Overview

Open in Workbench TomcatSecureServerPort: Tomcat secure server port

Design

Super Type
TomcatPort
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
httpsPort settingValue

TomcatShutdownPort

Overview

Open in Workbench TomcatShutdownPort: Tomcat shutdown port

Design

Super Type
TomcatPort
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
shutdownPort settingValue

TomcatAjpPort

Overview

Open in Workbench TomcatAjpPort: Tomcat Apache Jakarta Protocol port

Design

Super Type
TomcatPort
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
ajpPort settingValue

TomcatRelease

Overview

Open in Workbench TomcatRelease: Tomcat major release (e.g. 4.1, 5.x or 6.x)

Design

Super Type
TomcatSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
release settingValue

TomcatJavaOptions

Overview

Open in Workbench TomcatJavaOptions: Java runtime options (JAVA_OPTS) used when the Tomcat "start", "stop", or "run" command is executed

Design

Super Type
TomcatSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
javaOptions settingValue

TomcatTimeout

Overview

Open in Workbench TomcatTimeout: Shutdown timeout period in seconds

Design

Super Type
TomcatSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
timeout settingValue

TomcatPropertyFile

Overview

Open in Workbench TomcatPropertyFile: Shopzilla Tomcat application configuration property file name

Design

Super Type
TomcatSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies

Attributes

Exported Attributes
Name Property
propertyFileName settingValue
propertyFileTemplate settingType

TomcatProperty

Overview

Open in Workbench TomcatProperty: Shopzilla Tomcat configuration property setting

Design

Super Type
TomcatSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Constraints

Allowed Parent Dependencies