newserver/roles/ams_0008_8.0.8.0/templates/rsAmsBvService.conf.j2
2020-01-24 11:43:21 +01:00

269 lines
10 KiB
Django/Jinja

#encoding=UTF-8
#********************************************************************
#
# Service configuration file rsAmsBvService
#
#********************************************************************
#
#********************************************************************
# Wrapper License Properties
#********************************************************************
# Include file problems can be debugged by leaving only one '#'
# at the beginning of the following line:
##include.debug
#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf
# The following property will output information about which License Key(s)
# are being found, and can aid in resolving any licensing problems.
#wrapper.license.debug=TRUE
#********************************************************************
# Wrapper Localization
#********************************************************************
# Specify the language and locale which the Wrapper should use.
#wrapper.lang=en_US # en_US or ja_JP
# Specify the location of the language resource files (*.mo).
wrapper.lang.folder=../lang
#********************************************************************
# Wrapper Java Properties
#********************************************************************
# Java Application
wrapper.java.command=%JRE_HOME%/bin/java
# Tell the Wrapper to log the full generated Java command line.
#wrapper.java.command.loglevel=INFO
# Java Main class. This class must implement the WrapperListener interface
# or guarantee that the WrapperManager class is initialized. Helper
# classes are provided to do this for you.
# See the following page for details:
# http://wrapper.tanukisoftware.com/doc/english/integrate.html
wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener
# Java Classpath (include wrapper.jar) Add class path elements as
# needed starting from 1
wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar
wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar
# Java Library Path (location of Wrapper.DLL or libwrapper.so)
wrapper.java.library.path.1=%SERVICE_HOME%/lib
wrapper.java.library.path.2=%SHARED_HOME%/native
wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS%
wrapper.java.library.path.4=%WINDIR%/SYSTEM32
# Set system path
set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH%
# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode.
wrapper.java.additional.auto_bits=TRUE
# Java Additional Parameters
wrapper.java.additional.1=-server
wrapper.java.additional.2=-XX:ErrorFile="%RS_HOME%/service/log/rsAmsBvService_hs_err_pid%p.log"
wrapper.java.additional.2.stripquotes=TRUE
wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%"
wrapper.java.additional.3.stripquotes=TRUE
wrapper.java.additional.4=-XX:+DisableAttachMechanism
wrapper.java.additional.5=-XX:+UseG1GC
wrapper.java.additional.6=-XX:MaxGCPauseMillis=500
wrapper.java.additional.7=-XX:ConcGCThreads=4
wrapper.java.additional.8=-XX:ParallelGCThreads=4
wrapper.java.additional.9=-XX:CICompilerCount=4
wrapper.java.additional.10=-XX:+UseStringDeduplication
# Java Parameters for general webservice HTTP access
wrapper.java.additional.11=-Dorg.apache.felix.http.host={{ ansible_facts['default_ipv4']['address'] }}
wrapper.java.additional.12=-Dorg.osgi.service.http.port=7373
#wrapper.java.additional.13=-Dorg.osgi.service.http.port.secure=8443
# Optional alternative config paths for rola yaml config files
#wrapper.java.additional.20=-Drola.prefs="%RS_HOME%/frameworkconfig/prefs"
wrapper.java.additional.20.stripquotes=TRUE
# Path for rola log files
wrapper.java.additional.21=-Drola.logfile.path="{{ LOG_DIR }}/bvservice"
wrapper.java.additional.21.stripquotes=TRUE
# Service name and type, default is the same as the config file name
# As this is used for logging filenames, only use characters [A-Za-z0-9_.]
wrapper.java.additional.22=-Drola.service.name=rsAmsBvService
wrapper.java.additional.23=-Drola.service.type=rsAmsBvService
# Initial Java Heap Size (in MB)
wrapper.java.initmemory=128
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=2048
# Service parameters:
# 1-19. parameter: OSGi and framework parameters
# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile)
wrapper.app.parameter.1=-osgiUserWorkDir
wrapper.app.parameter.2="%TEMP%"
wrapper.app.parameter.2.stripquotes=TRUE
wrapper.app.parameter.3=-osgiConfiguration
wrapper.app.parameter.4=webamsbv
wrapper.app.parameter.5=-osgiRoot
wrapper.app.parameter.6="%SHARED_HOME%"
wrapper.app.parameter.6.stripquotes=TRUE
wrapper.app.parameter.7=-osgiFrameworkConfigDir
wrapper.app.parameter.8="%RS_HOME%/frameworkconfig"
wrapper.app.parameter.8.stripquotes=TRUE
wrapper.app.parameter.9=-startprofileset
wrapper.app.parameter.10=webamsbv
#Verbose output for osgi launcher
#wrapper.app.parameter.19=-osgiVerbose
#********************************************************************
# Wrapper Logging Properties
#********************************************************************
# Enables Debug output from the Wrapper.
# wrapper.debug=TRUE
# Format of output for the console. (See docs for formats)
wrapper.console.format=PM
# Log Level for console output. (See docs for log levels)
wrapper.console.loglevel=STATUS
# Log file to use for wrapper output logging.
wrapper.logfile="{{ LOG_DIR }}/bvservice/rsAmsBvService.log"
# Format of output for the log file. (See docs for formats)
wrapper.logfile.format=LPTM
# Log Level for log file output. (See docs for log levels)
wrapper.logfile.loglevel={{ ams_LogLevel }}
# Maximum size that the log file will be allowed to grow to before
# the log is rolled. Size is specified in bytes. The default value
# of 0, disables log rolling. May abbreviate with the 'k' (kb) or
# 'm' (mb) suffix. For example: 10m = 10 megabytes.
wrapper.logfile.maxsize=10m
# Maximum number of rolled log files which will be allowed before old
# files are deleted. The default value of 0 implies no limit.
wrapper.logfile.maxfiles=30
# Log Level for sys/event log output. (See docs for log levels)
wrapper.syslog.loglevel=ERROR
#********************************************************************
# Wrapper General Properties
#********************************************************************
# Set the working directory to the RS-Home directory
wrapper.working.dir=%RS_HOME%
# Allow for the use of non-contiguous numbered properties
wrapper.ignore_sequence_gaps=TRUE
# Do not start if the pid file already exists.
#wrapper.pidfile.strict=TRUE
# Title to use when running as a console
wrapper.console.title=rsAmsBvService
#********************************************************************
# Wrapper JVM Checks
#********************************************************************
# Detect DeadLocked Threads in the JVM. (Requires Standard Edition)
wrapper.check.deadlock=TRUE
wrapper.check.deadlock.interval=60
wrapper.check.deadlock.action=RESTART
wrapper.check.deadlock.output=FULL
# Out Of Memory detection.
# Ignore -verbose:class output to avoid false positives.
wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError
wrapper.filter.action.1000=NONE
# (Simple match)
wrapper.filter.trigger.1001=java.lang.OutOfMemoryError
# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.)
#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError
#wrapper.filter.allow_wildcards.1001=TRUE
wrapper.filter.action.1001=RESTART
wrapper.filter.message.1001=The JVM has run out of memory.
#********************************************************************
# Wrapper Email Notifications. (Requires Professional Edition)
#********************************************************************
# Common Event Email settings.
#wrapper.event.default.email.debug=TRUE
#wrapper.event.default.email.smtp.host=<SMTP_Host>
#wrapper.event.default.email.smtp.port=25
#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification
#wrapper.event.default.email.sender=<Sender email>
#wrapper.event.default.email.recipient=<Recipient email>
# Restart behaviour depending on exit code
# Service exited with bad result (exit code != 0)
wrapper.on_exit.default=RESTART
# Service exited with good result (exit code = 0)
wrapper.on_exit.0=SHUTDOWN
# Number of seconds to allow between the time that the JVM reports that it is stopped
# and the time that the JVM process actually terminates (e.g. termination of pending threads)
wrapper.jvm_exit.timeout=30
# Delay service restart for number of seconds
wrapper.restart.delay=15
#********************************************************************
# Wrapper Windows Service Properties
#********************************************************************
# WARNING - Do not modify any of these properties when an application
# using this configuration file has been installed as a service.
# Please uninstall the service before modifying this section. The
# service can then be reinstalled.
# Name of the service
wrapper.name=rsAmsBvService
# Display name of the service
wrapper.displayname=rsAmsBvService
# Description of the service
wrapper.description=rsAmsBvService
# Service dependencies. Add dependencies as needed starting from 1
wrapper.ntservice.dependency.1=
# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START
wrapper.ntservice.starttype=AUTO_START
# Allow the service to interact with the desktop (Windows NT/2000/XP only).
wrapper.ntservice.interactive=FALSE
# Automatically restart the service periodically
#wrapper.timer.1.action=RESTART
#wrapper.timer.1.interval=hour=24
# Configure the log attached to event emails.
#wrapper.event.default.email.maillog=ATTACHMENT
#wrapper.event.default.email.maillog.lines=50
#wrapper.event.default.email.maillog.format=LPTM
#wrapper.event.default.email.maillog.loglevel=INFO
# Enable specific event emails.
#wrapper.event.wrapper_start.email=TRUE
#wrapper.event.jvm_prelaunch.email=TRUE
#wrapper.event.jvm_start.email=TRUE
#wrapper.event.jvm_started.email=TRUE
#wrapper.event.jvm_deadlock.email=TRUE
#wrapper.event.jvm_stop.email=TRUE
#wrapper.event.jvm_stopped.email=TRUE
#wrapper.event.jvm_restart.email=TRUE
#wrapper.event.jvm_failed_invocation.email=TRUE
#wrapper.event.jvm_max_failed_invocations.email=TRUE
#wrapper.event.jvm_kill.email=TRUE
#wrapper.event.jvm_killed.email=TRUE
#wrapper.event.jvm_unexpected_exit.email=TRUE
#wrapper.event.wrapper_stop.email=TRUE
# Specify custom mail content
#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n