Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019671Openbravo ERPA. Platformpublic2012-02-06 19:312016-03-24 07:59
shuehner 
alostale 
normalminorhave not tried
closedduplicate 
5
 
3.0PR15Q3 
Core
No
0019671: Create new check with verifies that postgres timezone == system (tomcat-server) timezone
In case that the time (hour) reported by the dbms and the time reported by java code running inside tomcat are not in sync the application will fail in various ways.

Example: update.database triggers local changes check directly after install.source (as last_db_update timstamp is not in sync with the various created/updates timestamp of the data).

As that is difficult/time-consuming to debug the application should have a check of the environment and warn the admin/developer of that.

Example locations:
- on install.source, on update.database, each tomcat startup
Linux system with timezone not being UTC (i.e. gmt+1)
Reconfigure postgres to use UTC timezone (TimeZone='utc' in main config file)
do install.source
install some module (i.e. spanish comminuty localization pack)
rebuild
Notice: that update.database step will fails with 'database has local changes' message.
No tags attached.
duplicate of feature request 00296753.0PR15Q3 closed caristu check DB and Tomcat have the same time at Tomcat start 
Issue History
2012-02-06 19:31shuehnerNew Issue
2012-02-06 19:31shuehnerAssigned To => alostale
2012-02-06 19:31shuehnerModules => Core
2016-03-24 07:58alostaleStatusnew => closed
2016-03-24 07:58alostaleFixed in Version => 3.0PR15Q3
2016-03-24 07:58alostaleTriggers an Emergency Pack => No
2016-03-24 07:58alostaleResolutionopen => duplicate
2016-03-24 07:58alostaleRelationship addedhas duplicate 0029675
2016-03-24 07:59alostaleRelationship replacedduplicate of 0029675

There are no notes attached to this issue.