TomcatSite
Centralized management for a set of Tomcat based application server instances and contexts.
Overview
TomcatSite:
Centralized management for a set of Tomcat based application server instances and contexts.
Design
- Super Type
- Site
| Role | Concrete. (Objects can be created.) |
| Instance Names | Unique |
| Notification | false |
| Template Directory | |
| Data View | Children, proximity: 1 |
| Logger Name | TomcatSite |
Constraints
Allowed Child Dependencies
- DefaultAllowMultiplePackageMatches1
- DefaultDeploymentType1
- DefaultFailIfPackageNotReplaced1
- DefaultPackageName1
- DefaultPackageType1
- DispatchBaseType1
- DispatchChangeDependencies1
- DispatchExecutionStrategy1
- DispatchOptions1
- DispatchResourceName1
- DispatchResourceType1
- DispatchSortOrder1
- DispatchThreadCount1
- TomcatContext
- TomcatServer
1: These types have a Singleton constraint. Only one instance may be added as a resource.
Allowed Parent Dependencies
- Node
- Site
- Updater
Attributes
Exported Attributes
| Name | Property |
|---|---|
| basedir | deployment-basedir |
| install-root | deployment-install-root |
Defaults for Imported Attributes
| Name | Default |
|---|---|
| defaultAllowMultiplePackageMatches | false |
| defaultDeploymentType | Deployment |
| defaultFailIfPackageNotReplaced | true |
| defaultPackageName | ^$ |
| defaultPackageType | Package |
| dispatchBaseType | (?:deployment|service|mediator) |
| dispatchChangeDependencies | false |
| dispatchExecutionStrategy | localdispatch |
| dispatchOptions | |
| dispatchResourceName | .* |
| dispatchResourceType | [^\.]* |
| dispatchSortOrder | ascending |
| threadCount | 1 |
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.
Update
Run the service deployment cycle, stopping installing package dependencies, configuring and the starting it.
- Usage
- Update -buildstamp <> [-resourcename <.*>] [-resourcetype <[^\.]*>]
Workflow
- Change-Dependencies
- Deploy
Options
| Option | Description |
|---|---|
| buildstamp | buildstamp |
| resourcename | resource name pattern |
| resourcetype | resource type name |
Packages-Install
Dispatch package installation to the site's resources.
- Usage
- Packages-Install [-command <Packages-Install>] [-resourcename <.*>] [-resourcetype <[^\.]*>]
Workflow
- dispatchCmd
Options
| Option | Description |
|---|---|
| command | command to dispatch |
| resourcename | resource name pattern |
| resourcetype | resource type name |


