The Foundation class is fixed by updating the Olson timezone data (http://www.twinsun.com/tz/tz-link.htm) somewhere in the /Apple/ Library folder structure. Sorry, I'm not on a 4.5 box right now and can't give you the entire path. This definitely works, we just updated a bunch of servers.

Jim


On Mar 11, 2007, at 11:00 PM, [EMAIL PROTECTED] wrote:

Hi,

We are running WebObjects 4.5.1 for our applications on Solaris environment (Solaris 8). We patched our servers for DST changes as per the recommendations from Sun. I had previously also looked in the lists and some experts suggested that OS time zone files in / usr/share/lib/zoneinfo are used by WO 4.5, so I assumed that OS patches itself would solve any possible issues. But now on March 11th at 2:00am our servers changed time but WO applications still are getting time 1 hour behind the servers time.

We looked through the mailing lists and actually fixed a data class (TimeZoneData) in the classes.zip of JDK 1.1.8 used in WebObjects 4.5.1. This fix solved the DST issues for Java 1.1.8, like problems in the code where we are using Java's GregorianCalendar/Date classes. Now this class get the time equal to the server's updaed time.

But now the problem remaining is with WebObjects Foundation class NSGregorianDate which is still getting time 1 hour behind the server time. Since our server time has changed properly, I assume that OS is patched properly and thus WO Foundation classes should also work fine, but unfortunately it is not happening.

Any urgent insight or solution to this problem will be highly appreciated. One direction I am thinking of is just replacing NSGregorianDate with a wrapper class around GregorianCalendar of JDK 1.1.8. Does it make sense or its too big an effort?

Sam
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/jimstead% 40mac.com

This email sent to [EMAIL PROTECTED]


James E. Stead
407.252.3321
[EMAIL PROTECTED]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Reply via email to