Running Windows on Windows 2008 produces 8 hours of time difference. Cause

  

When setting up the environment in Hong Kong, I found that the internal time of the Margin system is different from the Windows system time by 8 hours.

I thought it was a Windows 2008 environment issue. After changing the registry, I still can't solve it.

This issue was re-examined during the test environment test this week.

Further testing found that this version of 1.5.0.07 does not support high versions of Windows.

In the updated version of the JDK, it has been fixed.

However, since JDK5 was supported by Sun in October 2009, it could not be downloaded to version 1.5.0.22 and can be replaced with version 1.6.0.18.

In the test environment, the 18 sub-version of JDK6 passed the test and there was no time difference. It is recommended to update the JDK on the UAT environment to 1.6.0.18. URL: http://java.sun.com/javase/downloads/widget/jdk6.jsp At the same time, it is recommended that the department check other systems to see if there is any hidden danger. (WAS comes with JDK for IBM JDK, not involved. This time mainly involves SUN JDK and Windows VISTA/Windows 7/Windows Server 2008) In general, weblogic and system time are rarely a problem of time difference, but it is possible In a certain situation, it will appear. I encountered this problem when using the Vista system. I did not find a solution to the problem in the search engines of the online search engines. This problem has also been encountered by a small number of people. Here, in order to facilitate a solution for everyone to solve this problem again in the future!

There are two folders jdk142_11 and jrockit81sp6_142_10 in the bea folder. Find the Etc folder in these two folders. Inside is the time zone file. Copy and copy the GMT-8 file and rename it. GMT to cover the original GMT file (previously backed up), this is not finished, because these files exist in four places, it is recommended to cover them, the four places are: bea\\jdk142_11\\jre\\lib\\zi\\Etc ;bea\\jdk142_11\\jre\\lib\\zi;bea \\jrockit81sp6_142_10\\jre\\lib\\zi\\Etc;bea\\jrockit81sp6_142_10\\jre\\lib\\zi

At this point you start weblogic again and you will find the startup time Consistent with system time! Everything is OK! The situation encountered with the problem is in the weblogic8.1 version!

Copyright © Windows knowledge All Rights Reserved