- Documentation
- Configuration Property Overview
- JVM Configuration
- wrapper.java.additional.<n> Property
Index |
wrapper.java.additional.<n> |
||||||||||
Additional Java parameters to pass to Java when it is launched. These are not parameters for your application, but rather parameters for the JVM. <n> component: 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.
It is important that each property only define a single argument to the JVM. If the value needs to include a space, then it is necessary to add quotes following the rules described below.
NOTEWhile 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. If you wish to dynamically change the list of additional Java parameters there are a few ways to do so. The first is to make use of cascading include files to include a dynamically generated configuration file which contains the dynamic property definitions. The second option is to make use of the wrapper.java.additional_file property to make use of a parameter list stored directly in a file. |
wrapper.java.additional.<n>.stripquotes |
||||||||||
If a wrapper.java.additional.<n> value contains quotes, then the contents of the quotes will be passed to the JVM as a single argument on Windows. Howver on UNIX, the quotes will also be included as part of the argument value. In most cases, this is not correct behavior on UNIX, but it is this way to maintain backwards compatibility. The wrapper.java.additional.<n>.stripquotes property makes it possible to tell the Wrapper to automatically strip those extra quotes on UNIX. The property is ignored on Windows. Defaults to the value of the wrapper.java.additional.default.stripquotes property, which itself defaults to "FALSE". <n> component: 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.
The following replacements will be made when stripping quotes. All other characters will remain unchanged.
|
wrapper.java.additional_file |
||||||||
In certain cases, it can be inconvenient to list up your java parameters in the Wrapper configuration file. This property provides a way to specify a file which can contain one or more parameters that will be passed as is to the JVM when it is launched. This can be very useful when the parameter list needs to be generated dynamically or via an installer. Any parameters defined in this file will appear after those defined using the standard wrapper.java.additional.<n> properties. Parameter File Format: The file format is simple.
|
wrapper.java.additional_file.stripquotes |
||||||||||
Different platforms handle parameters with spaces differently. To make a given configuration work consistently, you should always quote those values. They will be used as is on Windows. However, on UNIX platforms, the quotes will be stripped as the command line is broken into a parameter list. In almost all cases you will want to strip these quotes. To be consistent with the way the wrapper.java.additional.<n>.stripquotes property works, this property defaults to the value of the wrapper.java.additional.default.stripquotes property, which itself defaults to "FALSE".
|
Reference: How to use Parameter |
|
Reference: Parameter |
|
















