Consultor Eletrônico



Kbase P151708: AppServer broker log is off by one hour respect to the system time.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/14/2009
Status: Unverified

SYMPTOM(s):

AppServer broker log is off by one hour respect to the system time.

AdminServer log is off by one hour respect to the system time.

FACT(s) (Environment):

Host is located in Mexico
Environment variable set as TZ =CSM6CDM
EST5EDT time zone setting displays same hour in both the AppServer log and the system time.
HP-UX 11.x
OpenEdge 10.x

CAUSE:

Java bug on HP-UX defect # QXCR1000834079, 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:

export _JAVA_OPTIONS=-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:

export _JAVA_OPTIONS=-Duser.timezone=America/Chihuahua

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