Re: NSTimestamp problem
Re: NSTimestamp problem
- Subject: Re: NSTimestamp problem
- From: Colin Curtin <email@hidden>
- Date: Thu, 04 Jan 2007 12:49:57 -0800
We ran into this problem as well. Found a solution a few minutes ago.
OSX uses the same tz-link data that Java, Linux, Solaris, etc. uses.
So we symbolic linked the Java directory to the native OSX one:
#!/bin/bash
# You'll want to sudo this.
cd /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/lib
mv zi zi.old
ln -s /usr/share/zoneinfo ./zi
You could also copy the zoneinfo instead of linking if you're concerned
about Java updates overwriting the tz database.
We also noticed that in WO Java Client, the client's Java timezone
database needs to be updated as well.
Hope that helps,
Colin
Dan Faber wrote:
I notice the sun tool says:
The java.vendor property value must be "Sun Microsystems Inc.".
so I bet it won't work for Apple JVMs. It didn't appear that Apple
had a JVM release that met the dates shown on the sun page. Maybe
we are stuck?
Thanks to all for the VERY timely replies to my problem. Art is
correct that compiled timezone files are kept in
/System/Library/Frameworks/
JavaVM.framework/Versions/1.5.0/Home/lib/zi.
Apparently the file for my area "Denver" has been fixed in a newer
version of the apple java. I downloaded that version and copied the
"Denver" file from the zi directory into my 1.5.0 zi directory. Now
the problem is gone (so far) on the development system, but still does
not work correctly on the deployment system :(
Still searching for a reason...
Thanks to all,
Dan Faber
_______________________________________________
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
--
Colin Curtin
Programmer, Kavli Institute for Theoretical Physics
UCSB
web: http://www.kitp.ucsb.edu
email: email@hidden
office: 805.893.6396
_______________________________________________
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