ControlTier > elements
 

TomcatServerService

Run TomcatServer as a Windows service using Tanuki Software's Java Service Wrapper facility

Overview

TomcatServerService: Run TomcatServer as a Windows service using Tanuki Software's Java Service Wrapper facility

Design

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

Constraints

Allowed Child Dependencies

  • DefaultPackageName1
  • DefaultPackageType1
  • JavaServiceWrapperConsoleTitle1
  • JavaServiceWrapperJavaAdditional1
  • JavaServiceWrapperJavaClassPath1
  • JavaServiceWrapperJavaHome1
  • JavaServiceWrapperJavaInitMemory1
  • JavaServiceWrapperJavaMainClass1
  • JavaServiceWrapperJavaMaxMemory1
  • JavaServiceWrapperNtServiceAccount1
  • JavaServiceWrapperNtServiceDescription1
  • JavaServiceWrapperNtServiceDisplayName1
  • JavaServiceWrapperNtServiceInteractive1
  • JavaServiceWrapperNtServiceName1
  • JavaServiceWrapperNtServicePassword1
  • JavaServiceWrapperNtServiceStartType1
  • JavaServiceWrapperZip 1
  • TomcatServer 1

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

Allowed Parent Dependencies

  • Node
  • Site

Attributes

Exported Attributes

Name Property
installRoot deployment-install-root

Defaults for Imported Attributes

Name Default
javaServiceWrapperConsoleTitle Tomcat Server
javaServiceWrapperJavaAdditional
javaServiceWrapperJavaClassPath ${entity.attribute.catalinaHome}/bin/bootstrap.jar
javaServiceWrapperJavaHome ${env.JAVA_HOME}
javaServiceWrapperJavaInitMemory 512
javaServiceWrapperJavaMainClass org.tanukisoftware.wrapper.WrapperStartStopApp
javaServiceWrapperJavaMaxMemory 756
javaServiceWrapperNtServiceDescription Tomcat Server configured by ControlTier to run as a Windows service using Tanuki Software's Java Service Wrapper facility
javaServiceWrapperNtServiceDisplayName Tomcat Server
javaServiceWrapperNtServiceInteractive false
javaServiceWrapperNtServiceName tomcatserver
javaServiceWrapperNtServiceStartType AUTO_START

Commands

View the available commands in the User Reference.