Index |
|
wrapper.app.parameter.<n> |
||||||||||||
These properties are used to specify the parameters that will be passed to your application's main method.
When the value of the
wrapper. <n> component:
Each element has a property name that starts with
wrapper. Quotes: 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 that 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 following will remain unchanged.
NOTEIndividual parameter entry:
Application parameters are designed to be individual parameter entry.
If you specify a parameter like
'-c conf/myconffile.
|
wrapper.app.parameter.<n>.stripquotes |
||||||||
If a wrapper.
The wrapper.
Defaults to the value of the wrapper. The following replacements will be made when stripping quotes. All other characters will remain unchanged.
|
wrapper.app.parameter_file |
||||||||
In certain cases, it can be inconvenient to list up your application parameters in the Wrapper configuration file. This property provides a way to specify a file that 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.app.parameter.<n> properties. Starting with Wrapper version 3.5.23, any environment variable references in the file will be expanded. Parameter File Format: The file format is simple.
|
wrapper.app.parameter_file.required |
||||||||
Specifies if the parameter file is required or not. If it is required and not found, the Wrapper will stop without starting the JVM. If it is not required, the file will be ignored when not found. The default value is TRUE.
|
wrapper.app.parameter_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. The default value is "FALSE".
|
Reference: Parameters |
|