Re: NSTimestamp problem
Re: NSTimestamp problem
- Subject: Re: NSTimestamp problem
- From: Sacha Michel Mallais <email@hidden>
- Date: Tue, 9 Jan 2007 11:22:17 -0800
On Jan 4, 2007, at 12:49 PM, Colin Curtin wrote:
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.
This solution appears to cause problems with our apps. We get this
in the WO app log when starting up:
ZoneInfo: wrong magic number: UTC
ZoneInfo: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/
Home/lib/zi/ZoneInfoMappings (No such file or directory)
Any ideas?
sacha
_______________________________________________
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