• 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
Re: NSTimestamp problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSTimestamp problem
      • From: Art Isbell <email@hidden>
References: 
 >Re: NSTimestamp problem (From: Colin Curtin <email@hidden>)

  • Prev by Date: Deploy on Windows?
  • Next by Date: Re: Deploy on Windows?
  • Previous by thread: Re: NSTimestamp problem
  • Next by thread: Re: NSTimestamp problem
  • Index(es):
    • Date
    • Thread