The Java Service Wrapper manages the startup and shutdown processes for the JVM, and provides logging. It also provides automatic restarts if the Rhapsody JVM fails. The Java Service Wrapper configuration files:
wrapper.conf
wrapper-local.conf
wrapper-platform.conf
wrapper-license.conf
These files are located in the <RhapsodyInstallDirectory>\Rhapsody\bin
directory.
wrapper.conf
This file is not site-editable.
Useful Configuration Parameters
Parameter |
Description |
Default Value |
---|---|---|
|
Gets a thread dump when the JVM fails. |
|
|
The log file to use for wrapper output logging. |
|
|
The maximum number of rolled log files that will be allowed before the old files are deleted. A value of |
|
wrapper-local.conf
This file is site-editable.
The wrapper-local.conf
file contains configuration information for the local machine. Any properties you set in this file will override the properties in the wrapper.conf
and wrapper-platform.conf
files. Uncomment the properties that you require or that you want to change.
################################################################################ ## $service.name.display$ Java Service Wrapper Configuration ## Local site config, site editable ## Can override any properties in wrapper.conf or wrapper-platform.conf ################################################################################ # Uncomment the following to debug the wrapper. #wrapper.debug=TRUE # Log level for console output. (See docs for log levels). #wrapper.console.loglevel=INFO # Log level for log file output. (See docs for log levels). #wrapper.logfile.loglevel=INFO # Initial Java heap size (in MB) wrapper.java.initmemory=$jvm.initial$ # Maximum Java heap size (in MB) wrapper.java.maxmemory=$jvm.preferred$ #******************************************************************** # GC Options (sequence range 100-199) #******************************************************************** # Conventional GC Options wrapper.java.additional.100=-XX:MaxMetaspaceSize=1024m wrapper.java.additional.101=-XX:MetaspaceSize=256m # Change the default Derby statement cache setting. wrapper.java.additional.102=-Dderby.language.statementCacheSize=500 # Parallel GC Options # Concurrent GC Options # Garbage First (G1) GC Options #******************************************************************** # Other VM Options (sequence range 200-) #******************************************************************** # Derby statement cache wrapper.java.additional.200=-Dderby.language.statementCacheSize=500 # Metaspace Compress Class Space size (in MB) wrapper.java.additional.201=-XX:CompressedClassSpaceSize=512m
wrapper-platform.conf
This file is not site-editable.
The wrapper-platform.conf
file contains configuration information for the operating system or platform.
################################################################################ ## Rhapsody 6.4.0 Java Service Wrapper Configuration ## Platform specific config ## ## Note: This file is *NOT* site editable ################################################################################ #******************************************************************** # VM specific Options (sequence range 50-99) #******************************************************************** wrapper.java.additional.50=-Djavax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom=com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl wrapper.java.additional.51=-Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl wrapper.java.additional.52=-XX:+UseG1GC wrapper.java.additional.53=-Dorg.osgi.framework.os.name=Win32
wrapper-license.conf
The wrapper-license.conf
file contains the license for the Java Service Wrapper.