Default timezone changes out of nowhere?
- From: Werner Lehmann <wl@xxxxxxxxxxxxxxx>
- Date: Thu, 30 Jun 2005 01:35:30 +0200
Hi everybody,
we have a very serious problem with timezones. Basically the default timezone is changing for no apparent reason back to UTC, but only after some time has lapsed since application start. This totally messes up any date/time output and calculations.
To investigate this we are logging the default tiemzone, timezone offset and daylight saving offset frequently with Timezone.getDefault(). For some hours it would be 'America/Denver' with proper offsets, then suddenly it changes to UTC. Nobody is ever calling Timezone.setDefault(). There is no apparent reason or pattern why or when it happens.
This is on a BEA Weblogic 8.1 app server with an RMI server, a few servlets and JSPs in a 1.4.2 JDK.
Any ideas what could be causing this? Is it somehow possible to tap into the JDK method Timezone.setDefault(), e.g. to log a stack trace, in order to learn what is executing this? Your help is greatly appreciated, after more than a week I can't think of anything else to try...
Werner .
- Follow-Ups:
- Re: Default timezone changes out of nowhere?
- From: Andrew Thompson
- Re: Default timezone changes out of nowhere?
- Prev by Date: Re: Simple XPATHs arent working... HELP!
- Next by Date: Re: Default timezone changes out of nowhere?
- Previous by thread: JFrame Resize Issues
- Next by thread: Re: Default timezone changes out of nowhere?
- Index(es):
Relevant Pages
|