- Documentation
- Configuration Property Overview
- Advanced Configuration
- wrapper.timezone Property
wrapper.timezone |
||||||||
The timezone property makes it possible to define the time zone in which the Wrapper will be executed. Starting from version 3.5.29, it is advised to use IANA time zone identifiers. These identifiers are composed of the name of a continent or ocean and a name of a representative location within this area (typically the name of the largest city). For example, 'America/Los_Angeles' represents the timezone of Pacific Time. A full list of the identifiers can be found here. For backward compatibility, a list of time zone abbreviations (e.g. MST, GMT, JST, etc.) is also supported. However, Java deprecated these because the same abbreviation is sometimes used to represent several time zones. It is not recommended to use them in the Wrapper configuration because the same code may lead to different interpretations depending on the operating system. With IANA time zones, the same configuration will always produce the same time regardless of the platform.
NOTEChanging the timezone will affect the timestamps in all log output (in Standard and Professional Editions), as well as the wrapper.timer.<n>.interval property and the Mail Settings (in Professional Edition). Starting from version 3.5.35, the timezone, if specified, will be passed to the JVM using the 'user.timezone' option. This guarantees that the time is always synchronized between the Wrapper and Java application. It is possible to specify a different timezone for the Java application by setting one of the wrapper.java.additional.<n> properties with '-Duser.timezone=<YOUR_TIMEZONE>'. Alternatively you may add this option without specifying a value to use the timezone of the machine on which the application is running. |
wrapper.timezone.folder |
||||||
This property is required when using an IANA identifier. It allows you to specify the path to a directory containing the IANA Time Zone Database source files. The IANA Time Zone database is regularly updated to take into account changes in the local times all over the world. The database provides several files (one per region in the world) which are grouped together in a single tar.gz package, and available for download on the website of the Internet Assigned Number Authority (IANA). These files are called:
You should select the file named with the region containing the selected timezone. For example, the file 'northamerica' would be used when using the time zone 'America/Los_Angeles'. Next, extract it and put it in the location specified by the wrapper.timezone.file property. You may also put other files in the same folder if you plan to change wrapper.timezone to a timezone located in another region. Since JAVA also uses the IANA Time Zone Database, the time used by your Java application will be consistent with the time of the Wrapper as long as they use the same timezone identifier. However, you may have to confirm that the version of the timezone database is the same as the one provided in your JRE release. A list of the versions per JRE release is available on Oracle's website. WARNINGUntil version 3.5.44, there was an issue where the Wrapper hung on startup if the file 'etcetera' (part of the IANA tz database) was present at the location specified by wrapper.timezone.folder. Removing this file would solve the issue. This has been fixed in version version 3.5.45. |
wrapper.timezone.use_summer_time |
||||||||
Sometimes you want to turn off Summer (Daylight Saving) Time for some reasons like having the Wrapper run on different servers in different timezones and keeping the log files with the same timestamps, without changing the system's timezone. With this property, you can specify whether the Wrapper will change the timezone information to Summer(Daylight)/Winter Time automatically, if the wrapper.timezone property has been set. The default value is "TRUE".
NOTEIf a timezone doesn't use Summer Time, this property will be ignored. This also means that the Wrapper won't respect the property if the timezone was defined with "UTC+/-xxxx". Also when a Summer (Daylight) Time has been defined for wrapper.timezone, this property also has no effect. |
List of the supported timezone identifiers |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|