ControlTier > controltier-elements
 

CruiseControlService

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

Overview

CruiseControlService: Run Cruise Control as a Windows service using Tanuki Software's Java Service Wrapper facility

JavaServiceWrapper subtype with defaults for running CruiseControl. Attach a regular CruiseControl object to this type as a child dependency. Use settings from JavaServiceWrapper to customize.

Design

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

Constraints

Allowed Child Dependencies

  • CruiseControl 1
  • JavaServiceWrapperConsoleTitle1
  • JavaServiceWrapperJavaAdditional1
  • JavaServiceWrapperJavaClassPath1
  • JavaServiceWrapperJavaHome1
  • JavaServiceWrapperJavaInitMemory1
  • JavaServiceWrapperJavaMainClass1
  • JavaServiceWrapperJavaMaxMemory1
  • JavaServiceWrapperNtServiceAccount1
  • JavaServiceWrapperNtServiceDescription1
  • JavaServiceWrapperNtServiceDisplayName1
  • JavaServiceWrapperNtServiceInteractive1
  • JavaServiceWrapperNtServiceName1
  • JavaServiceWrapperNtServicePassword1
  • JavaServiceWrapperNtServiceStartType1
  • JavaServiceWrapperZip 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 Cruise Control
javaServiceWrapperJavaAdditional
javaServiceWrapperJavaClassPath ${entity.attribute.ccDir}/lib/*.jar
javaServiceWrapperJavaHome ${env.JAVA_HOME}
javaServiceWrapperJavaInitMemory 128
javaServiceWrapperJavaMainClass org.tanukisoftware.wrapper.WrapperSimpleApp
javaServiceWrapperJavaMaxMemory 256
javaServiceWrapperNtServiceDescription Cruise Control configured by ControlTier to run as a Windows service using Tanuki Software's Java Service Wrapper facility
javaServiceWrapperNtServiceDisplayName Cruise Control
javaServiceWrapperNtServiceInteractive false
javaServiceWrapperNtServiceName cruisecontrol
javaServiceWrapperNtServiceStartType AUTO_START

Commands

View the available commands in the User Reference.