• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WebObjects 4.5.1 DST problems with NSGregorianDate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WebObjects 4.5.1 DST problems with NSGregorianDate


  • Subject: WebObjects 4.5.1 DST problems with NSGregorianDate
  • From: <email@hidden>
  • Date: Sun, 11 Mar 2007 23:00:32 -0400
  • Thread-topic: WebObjects 4.5.1 DST problems with NSGregorianDate

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: WebObjects 4.5.1 DST problems with NSGregorianDate
      • From: James Stead <email@hidden>
    • Re: WebObjects 4.5.1 DST problems with NSGregorianDate
      • From: Art Isbell <email@hidden>
  • Prev by Date: WO 5.3 on Mac OS X 10.3 server?
  • Next by Date: Re: WebObjects 4.5.1 DST problems with NSGregorianDate
  • Previous by thread: Re: WO 5.3 on Mac OS X 10.3 server?
  • Next by thread: Re: WebObjects 4.5.1 DST problems with NSGregorianDate
  • Index(es):
    • Date
    • Thread