Article - CS331421

What to do if the Tomcat Java parameter -Duser.timezone=UTC has not been set in ThingWorx

Modified: 12-Sep-2024   


Applies To

  • ThingWorx Platform 9.0 to 9.3
  • Apache Tomcat
  • Microsoft SQL Server
  • PostgreSQL

Description

  • Timestamps in PostgreSQL and Microsoft SQL Server (MSSQL) are stored without timezone information in ThingWorx
    • As a result, the ThingWorx platform JVM must use a timezone that does not observe Daylight Saving Time (DST)
    • UTC is enforced using -Duser.timezone=UTC setting
  • What to do if the Tomcat Java setting -Duser.timezone=UTC has not been set during the installation or in-place upgrade in ThingWorx
    • For example :
      • Java -Duser.timezone parameter not set at all
      • Java -Duser.timezone parameter set to something other than UTC
This is a printer-friendly version of Article 331421 and may be out of date. For the latest version click CS331421