wrapper.jvm.encoding |
||||||||
This property is used to set the JVM's default encoding when it should differ from the encoding used by the Wrapper, or to specify an encoding other than UTF-8 when using Java 18 and later.
The value specified with wrapper. Valid values include:
* If the specified encoding (or the encoding resolved when using WRAPPER) is not supported by the current JVM, the Wrapper will log an error message and stop. However, this restriction can be lifted by setting wrapper.jvm.encoding.allow_unsupported to TRUE.
NOTE
Setting wrapper. WARNINGUsage of this property (any value other than 'DEFAULT') requires that there is no reference of 'file.encoding', 'stdout.encoding','stderr.encoding', 'sun.stdout.encoding', or 'sun.stderr.encoding' in the arguments passed to the JVM, otherwise the Wrapper will stop. This property is not reloaded when the JVM restarts and wrapper.restart.reload_configuration is set to TRUE. However, if any of the above system properties were added in the JVM arguments while this property being set, the Wrapper will stop. |
wrapper.jvm.encoding.allow_unsupported |
||||||||
This property lets the Wrapper skip validating the wrapper.jvm.encoding value against encodings supported by the current Java version. This can be useful, particularly when using Java 18 or later, where only 'UTF-8' and 'COMPAT' are officially supported by the JVM, but many other encodings - while no longer guaranteed - are still documented as "likely to continue to work". The default value is FALSE.
|










