288 lines
12 KiB
Django/Jinja
288 lines
12 KiB
Django/Jinja
#encoding=UTF-8
|
|
#********************************************************************
|
|
#
|
|
# Service configuration file rsWebserviceAppserver
|
|
#
|
|
#********************************************************************
|
|
#
|
|
#********************************************************************
|
|
# 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/rsWebserviceAppserver_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=-Drola.config="%SHARED_HOME%/config"
|
|
wrapper.java.additional.5.stripquotes=TRUE
|
|
|
|
# Java Parameters for general webservice HTTP access
|
|
wrapper.java.additional.6=-Djetty.host={{ ansible_facts['default_ipv4']['address'] }}
|
|
wrapper.java.additional.7=-Djetty.port=8080
|
|
|
|
# List of paths/directories to "overlay" the standard configuration files separated by comma ",".
|
|
# File contents are merged.
|
|
# Default: %RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec
|
|
#wrapper.java.additional.8=-Drola.config.overlay.paths="%RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec"
|
|
wrapper.java.additional.8.stripquotes=TRUE
|
|
# enable debug information for error analysis in config overlay
|
|
#wrapper.java.additional.9=-Drola.config.overlay.debug=true
|
|
|
|
# Java parameters for secure webservice access via HTTPs (e.g. AIF)
|
|
#wrapper.java.additional.10=-Djavax.net.ssl.keyStore=<Path to keystore file>
|
|
#wrapper.java.additional.11=-Djavax.net.ssl.keyStoreType=JKS
|
|
#wrapper.java.additional.12=-Djavax.net.ssl.keyStorePassword=<Keystore password>
|
|
#wrapper.java.additional.13=-Djavax.net.ssl.trustStore=<Path to truststore file>
|
|
#wrapper.java.additional.14=-Djavax.net.ssl.trustStoreType=JKS
|
|
#wrapper.java.additional.15=-Djavax.net.ssl.trustStorePassword=<Truststore password>
|
|
|
|
# Optional Jetty SSL configuration
|
|
# example for default web server
|
|
#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-https.xml
|
|
# example for application server
|
|
#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc-appserver/jetty-ssl.xml,etc-appserver/jetty-https.xml
|
|
|
|
#wrapper.java.additional.21=-Djetty.https.host=<Hostname or IP>
|
|
#wrapper.java.additional.22=-Djetty.https.port=443
|
|
#wrapper.java.additional.23=-Djetty.logdir="%RS_HOME%/service/log/rsWebserviceAppserver-jetty/"
|
|
#wrapper.java.additional.23.stripquotes=TRUE
|
|
|
|
#Activate UTF-8 support for gss kerberos authentication.
|
|
wrapper.java.additional.26=-Dsun.security.krb5.msinterop.kstring=true
|
|
|
|
# Initial Java Heap Size (in MB)
|
|
wrapper.java.initmemory=1024
|
|
|
|
# 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=appserver
|
|
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=appserver
|
|
wrapper.app.parameter.11=-serviceSpecificationBundle
|
|
wrapper.app.parameter.12=com.rola.rsframe.module.appserver
|
|
wrapper.app.parameter.13=-serviceSpecificationClass
|
|
wrapper.app.parameter.14=com.rola.rsframe.module.appserver.specifications.AppserverServiceSpecification
|
|
#Verbose output for osgi launcher
|
|
#wrapper.app.parameter.19=-osgiVerbose
|
|
wrapper.app.parameter.20=/configfile="%RS_HOME%/config/rsWebserviceAppserver.xml"
|
|
wrapper.app.parameter.20.stripquotes=TRUE
|
|
|
|
#********************************************************************
|
|
# 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 }}/appserver/rsWebserviceAppserver-servicewrapper.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=rsWebserviceAppserver-Service
|
|
|
|
#********************************************************************
|
|
# 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=rsWebserviceAppserver
|
|
|
|
# Display name of the service
|
|
wrapper.displayname=rsWebserviceAppserver
|
|
|
|
# Description of the service
|
|
wrapper.description=rsWebserviceAppserver
|
|
|
|
# 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
|