Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 89320 invoked from network); 6 Aug 2004 17:37:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 6 Aug 2004 17:37:35 -0000 Received: (qmail 58903 invoked by uid 500); 6 Aug 2004 17:37:00 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 58873 invoked by uid 500); 6 Aug 2004 17:36:59 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 58851 invoked by uid 99); 6 Aug 2004 17:36:59 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received: from [204.74.20.252] (HELO sid.armstrong.com) (204.74.20.252) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 06 Aug 2004 10:36:57 -0700 Received: from joedog.org (pcp01470022pcs.lncstr01.pa.comcast.net [68.82.237.147]) by sid.armstrong.com (8.12.8p1/8.12.8) with ESMTP id i76HebTj002154 for ; Fri, 6 Aug 2004 12:40:38 -0500 Message-ID: <4113C1B6.5040709@joedog.org> Date: Fri, 06 Aug 2004 13:36:54 -0400 From: Tim Funk Organization: Human being User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en, es-mx, de, sv MIME-Version: 1.0 To: Tomcat Users List Subject: Re: System Clock Issues with Webapps References: <6.0.1.1.0.20040806101320.01b4d480@mail.gtsgraphics.com> In-Reply-To: <6.0.1.1.0.20040806101320.01b4d480@mail.gtsgraphics.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Use the JAVA_OPTS option on startup to set the timezone property. -Tim David Rickard wrote: > Server: SunOS 5.9 Generic_112233-07 sun4u sparc SUNW,Ultra-250 > Apache: 2.0.47 > Tomcat: 4.1.29 > > Our server is used by divisions in multiple timezones, so the system > clock is set to UTC to simplify log writing etc; > Each system user--including root--has a profile which masks the system > clock to the appropriate time zone; root is masked to US-Pacific, the > physical location of the server (confirmed by running "date" as root). > Apache and Tomcat run as root processes and should use root's profile; > however, they sometimes "bypass" the profile and report UTC date/time > value (evidenced by outputting the value of a java.util.Date in a JSP). > Doing an Apache/Tomcat restart will correct this system--so that our > time JSP reports US-Pacific time as expected; however, Apache/Tomcat > will revert (usually in less than a day) to reporting UTC time. > Any ideas on why this is happening? and how we can correct it? > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org