Uploaded image for project: 'PUBLIC - Liferay Documentation'
  1. PUBLIC - Liferay Documentation
  2. LRDOCS-994

Calendar: add notes as we should not modify the time zone settings at the JVM level

Details

    Description

      Calendar related functionalities relies on GMT being the default timezone at JVM level.

      So we are not supposed to modify the time zone settings at JVM level, or calendar portlet may not function correctly. We have had this note on our knowledge base article "How to Change Log Timezone without Changing JVM Timezone", and here is the quotation from that:
      " Additional Information
      Never modify the time zone settings at the JVM level (see setenv.bat or setenv.sh in tomcat) since it will affect all of the processes run in that JVM. More specifically, the calendar portlet may not function correctly if the time zone is not configured to GMT at the JVM level."

      Considering that, it is better for us to add similar points to User Guide, such as:
      1. Add the same additional information to User Guide > "Managing Events and Calendar Resources with Liferay’s Calendar Portlet"
      2. Collect known issues about what if we modify -Duser.timezone= to something other than GMT, which will make it much clearer.

      It is better for us to make this point clear and customers will benefit from this.

      Attachments

        Activity

          People

            km.material KM Material
            vincent.liu Vincent Liu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package