TomcatContext
Shopzilla Tomcat web application service (extended to support a custom context and an "external" property file)
Overview
TomcatContext:
Shopzilla Tomcat web application service (extended to support a custom context and an "external" property file)
Design
- Super Type
- Service
| Role | Concrete. (Objects can be created.) |
| Instance Names | Unique |
| Notification | false |
| Template Directory | |
| Data View | Children, proximity: 1 |
| Logger Name | TomcatContext |
Constraints
Allowed Child Dependencies
- TomcatContextFile 1
- TomcatProperty
- TomcatPropertyFile1
- TomcatServer 1
- war1
1: These types have a Singleton constraint. Only one instance may be added as a resource.
Allowed Parent Dependencies
- Node
- Tomcat
Attributes
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 <>]
Options
| Option | Description |
|---|---|
| archivedir | dir to store current output docs |
| basedir | tomcat instance dir |
War-Packages-Install
install war package dependencies
- Usage
- War-Packages-Install [-packagetype <war>]
Workflow
- Packages-Install
Options
| Option | Description |
|---|---|
| packagetype | Platform packages to install |
Related Types
The following types are defined for use with TomcatContext.
TomcatSetting
Overview
TomcatSetting:
Tomcat configuration setting
Design
- Super Type
- Setting
| Role | Abstract. (Objects cannot be created.) |
| Instance Names | Unique |
TomcatContextFile
Overview
TomcatContextFile:
Shopzilla Tomcat application context path file name
Design
- Super Type
- TomcatSetting
| Role | Concrete. (Objects can be created.) |
| Instance Names | Unique |
Constraints
Allowed Parent Dependencies
Attributes
Exported Attributes
| Name | Property |
|---|---|
| contextFileName | settingValue |


