Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-68408

JVM must be configured with GMT/UTC timezone and UTF encoding in order to avoid issues with Liferay

    Details

      Description

      JVM must be configured with GMT/UTC timezone and UTF encoding in order to avoid issues with Liferay but we allow a wrong configuration.

      A warning message should be logged in case of wrong configuration

      Steps to reproduce

      1. Download a clean tomcat bundle of Liferay
      2. Open tomcat/bin/setenv.sh or setenv.bat
      3. Change file.encoding and user.timezone
      4. Create system-ext.properties file in webapps/ROOT/WEB-INF/classes and set user.timezone
      5. Start Liferay:
      • Expected behavior: A warning is printed to log
      • Wrong behavior: No warning is printed to log

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  40 weeks, 4 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 DXP FP6
                  7.0.0 DXP SP1
                  7.0.3 CE GA4
                  7.1.X
                  Master