Synchronize the MashZone NextGen Repository and MashZone NextGen Server Time Zones
Creation and modification timestamps for artifacts and other MashZone NextGen Repository metadata can be different than times when events occurred in the MashZone NextGen Server in two cases:
If the server hosting the
MashZone NextGen Repository is located in a different time zone from the server hosting the
MashZone NextGen ServerIf the time zone setting for the database hosting the
MashZone NextGen Repository is set to a different time zone from the server hosting the
MashZone NextGen ServerYou can correct this problem by specifying a time zone in configuration for the MashZone NextGen Repository.
Important: | The instructions in this topic are specific to MySQL databases. For other types of databases, please consult documentation for that database to determine the appropriate updates. |
To synchronize time zones
1. In a text editor of your choice, open the rdsJDBC.properties file in your MashZoneNG-config folder. This is either in a shared external configuration folder or in app-server:port/mashzone/WEB-INF/classes.
2. Update the following properties:
jdbc.url=jbdc:mysql://hostname/database-name?useLegacyDatetimeCode=false dbServer.timeZone=time-zone-id-for-mysql-server Valid time zone identifiers include GMT time zones, common abbreviations such as EST or UTC, or time zone locations such as America/Los_Angeles.
3. Save these changes.