These properties are used to specify the parameters that will be passed to your application's main method.
When the value of the
wrapper.java.mainclass property is
the first parameter to the application must be the name of the class
which contains your main method.
All other parameters are then passed to your application's main method in order.
See the Integration section for more details.
Each element has a property name which starts with
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
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.
Application parameters are designed to be individual parameter entry.
If you specify a parameter like
it will work correctly on Windows because the
parameters will be correctly parsed when Java is launched.
But on UNIX systems, the parameters will incorrectly be interpreted
as a single parameter
Makes it possible to change the default strip quotes behavior on UNIX when you wish to have the same behavior
for all wrapper.app.parameter.<n> property values.
The default value is "FALSE".The property is ignored on Windows.
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 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.
It must start with an encoding directive line
just like the Wrapper configuration file.
This is needed to tell the Wrapper what encoding to use when reading the file.
If this line is missing then the Wrapper will attempt to proceed after logging a warning.
The encoding used in the file may be different from the encoding used in other configuration files.
Multiple parameters can be written in one line by separating each parameter with one or more spaces.
It is also possible to break the parameters into multiple lines.
The '#' character is interpreted as a comment character.
To include a '#' character in a property value, the value must either be quoted ("#") or escaped by a second '#' character.
# Example parameters: Multiple parameters in one line
# More parameters
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.