World Map
Java Service Wrapper is the easiest way to make your product more reliable.
  • Free Trial
  • Buy Now
wrapper.java.additional.<n> Property

wrapper.java.additional.<n>

Kompatibel : 1.0.0
Editionen :Professional EditionStandard EditionCommunity Edition
Betriebssysteme :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

Additional Java parameters to pass to Java when it is launched. These are not parameters for your application, but rather parameters for the JVM.

Each element has a property name which starts with wrapper.java.additional. and the "<n>" component of the property name is an integer number counting up from "1". By default, there can be no missing numbers. The wrapper.ignore_sequence_gaps property can optionally be set to allow gaps in the sequence.

For each entry, you can also have a corresponding strip quotes flag (stripquotes property = TRUE) which will remove unescaped quotes from the element when run on Linux/UNIX machines. This is necessary to allow for file references which contain spaces. For parameters like the one below, it would not otherwise be possible to decide when to remove quotes and when to leave them alone. All other characters except for the followings will remain unchanged.

  • '\\' will become '\',
  • '\"' will become '"'
  • '"' will become ''
Example:
wrapper.java.additional.1=-Xrs
wrapper.java.additional.2=-Dprop=TRUE
wrapper.java.additional.3=-Dmyapp.data="../data"
wrapper.java.additional.3.stripquotes=TRUE

NOTE

If you specify -Xrs as an additional Java parameter, the Wrapper's ability to handle all system signals will be compromised. Requesting a thread dump will cause the JVM to halt suddenly and be restarted by the Wrapper for example. (See: FAQ#3)

NOTE

While the wrapper.java.detect_debug_jvm property is set to TRUE, if one of wrapper.java.additional.<n> properties is set to "-Xdebug", then the Wrapper will decide the JVM is using a debugger and ignore certain timeouts.

Reference: Parameter