RE: WebObjects 4.5.1 DST problems with NSGregorianDate
RE: WebObjects 4.5.1 DST problems with NSGregorianDate
- Subject: RE: WebObjects 4.5.1 DST problems with NSGregorianDate
- From: <email@hidden>
- Date: Tue, 13 Mar 2007 15:11:04 -0400
- Thread-topic: WebObjects 4.5.1 DST problems with NSGregorianDate
Hi,
Art & Jim, Thanks for your responses. We finally fixed the problem.
Here is the solution(tested on Solaris) for the reference of everyone using
WebObjects 4.5.1
You need 2 fixes for WebObjects DST problem
1) For Java 1.1.8 fix
You need to update file ${NEXT_ROOT}/Library/JDK/lib/classes.zip.
Class TimeZoneData(in src file TimeZone.java) need changes for new TimeZone
rules for your location.
You'll need to get the source from sun's website for Java1.1.8 and compile
the file again with your changes.
Then you need to update the classes.zip with new changed class file. (sample
command zip -0 classes.zip java/util/TimeZoneData.class)
2) For WebObjects Foundation classes fix
On an already patched Solaris system copy directory
/usr/share/lib/zoneinfo/America
into
${NEXT_ROOT}/Library/Frameworks/Foundation.framework/Versions/C/Resources/Tim
eZoneInfo
NOTE: You may need to copy other directories also from
/usr/share/lib/zoneinfo/America, if you are at different location than
America
Regards
Sam
-----Original Message-----
From: webobjects-dev-bounces+staneja=email@hidden
[mailto:webobjects-dev-bounces+staneja=email@hidden]On
Behalf Of Art Isbell
Sent: Sunday, March 11, 2007 11:26 PM
To: WebObjectsDev Apple
Subject: Re: WebObjects 4.5.1 DST problems with NSGregorianDate
On Mar 11, 2007, at 5:00 PM, email@hidden wrote:
> 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.
WO 4.5.1 can use the compiled time zone data in /usr/share/lib/
zoneinfo if its contents are copied to $NEXT_ROOT/Library/Frameworks/
Foundation.framework/Resources/TimeZoneInfo (this path is from
memory, so it's probably not quite correct, but it should be close).
The time zone data update procedure is documented in the Foundation
Release Notes that should have been installed with WebObjects.
Aloha,
Art
_______________________________________________
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
_______________________________________________
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