Consultor Eletrônico



Kbase P182804: AppServer broker log is off by six hours respect to the system time.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   18/02/2011
Status: Unverified

SYMPTOM(s):

AppServer broker log is off by six hours respect to the system time.

AdminServer log is off by six hours respect to the system time.

FACT(s) (Environment):

Host is located in Mexico
EST5EDT time zone setting displays same hour in both the AppServer log and the system time.
Windows
OpenEdge 10.x

CAUSE:

Java ignores CSM6CDM time zone.

FIX:

This time difference will affect all Java processes including the AdminServer.
1) Stop the AdminServer
2) To work around this issue set the environment variable _JAVA_OPTIONS as follows:

Start->Control Panel->System->Advanced->Variable Name: _JAVA_OPTIONS Value: -Duser.timezone=America/Mexico_City
This will set time for the JVM to Mexico's Central time.
3) Restart the AdminServer and all the brokers

Note: In order to use this option, verify that the directory $JREHOME/lib/zi/America exist and has the following files:

Cancun
Chihuahua
Hermosillo
Mazatlan
Merida
Mexico_City
Monterrey
Tijuana

It is possible to set the time for other time zones in Mexico, for example:

Start->Control Panel->System->Advanced->Variable Name: _JAVA_OPTIONS Value: -Duser.timezone=America/Chihuahua

This will set time for the JVM to Mexico's Mountain time.