Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 41638 invoked from network); 14 Aug 2009 08:35:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Aug 2009 08:35:59 -0000 Received: (qmail 57804 invoked by uid 500); 14 Aug 2009 08:36:02 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 57722 invoked by uid 500); 14 Aug 2009 08:36:01 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 57711 invoked by uid 99); 14 Aug 2009 08:36:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Aug 2009 08:36:01 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [68.142.206.38] (HELO web32808.mail.mud.yahoo.com) (68.142.206.38) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 14 Aug 2009 08:35:51 +0000 Received: (qmail 30716 invoked by uid 60001); 14 Aug 2009 08:35:30 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1250238930; bh=6i3a011jOJ/2gsU6/rB0tx6+DadNPnD4BwJfC7vmcqc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=qS3LqdJ28RAA2K702HrV5aolmFmghb4x3Q7KjLCaFhVwZSgJDVmWfrqZPw7mluv863SXNYd6BQwZ/qGocwhlrraSBH6XDmHpuQpLKb4EY1Y1HpNhMHQSjF6EjUNuS0Hn5/BOvP7k4wLbjJ8KoRW3PMLi6Oajy2vcHNTZ7deUtqI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=gk0FbHNAWwCNCLKLCm51HlBas+ycG1/kXRoaUtbi3jHrlDlA+w/eBnNsxbqtp35A8b/ogJBHrOt5GQhtTVcaAoxeHGCEFs5oo1CVY2WyI9ysBqbIZhkVHFgKi3SDpJ+JlspArp00qlrQLfAGyqM8xKoJNFX03UgucAwteVByVp4=; Message-ID: <242419.28775.qm@web32808.mail.mud.yahoo.com> X-YMail-OSG: _IU7odsVM1llz7IHMQAJTlG6hUGC4I.e8AoGNlcF9xSmjf_L2WyTXjouSPZsoHDjwUHBkZoqjjpCGVLaKhpv08CJpTMDOXTf7G_GvtoJdjKM.xJimGXCgHZCOThnubx4oVQWhG5bNMAEY3HBBTymFi_tby5nkyALY5uUCjq3fbV1_bT5q7qHr8.ZJ9.iT_iNLxiP6ID.ViUrA1dP97DsWBNBvQmtzBcz4DOj1iK0SdBFWH8yZqAecGR4kiahJ0Lj7lOtFJDuDVkQOpzKDjxQPIeaSbuj0Iffd9nU8RuQnztC5.4YuzhDe.XH8V4ma7JcyHbeTnNEkI6dtCnrkpSIU0u92w-- Received: from [71.204.181.188] by web32808.mail.mud.yahoo.com via HTTP; Fri, 14 Aug 2009 01:35:30 PDT X-Mailer: YahooMailRC/1358.27 YahooMailWebService/0.7.338.2 References: <344083.28108.qm@web32808.mail.mud.yahoo.com> <934087.48719.qm@web32807.mail.mud.yahoo.com> <940379.4200.qm@web32806.mail.mud.yahoo.com> <13539.21688.qm@web32802.mail.mud.yahoo.com> <997375.62913.qm@web32805.mail.mud.yahoo.com> <288231.30890.qm@web32807.mail.mud.yahoo.com> <5899FECF-AC20-40B3-BB41-A9FCB70BDE19@gmail.com> Date: Fri, 14 Aug 2009 01:35:30 -0700 (PDT) From: Mon Cab Subject: Re: Tomcat writing the wrong timestamp on compiled JSP's To: Tomcat Users List In-Reply-To: <5899FECF-AC20-40B3-BB41-A9FCB70BDE19@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org Thanks Kees It looks like this is a known issue with the WinSCP client. The issue is with UTC vs DST, and seems to result from an assumption as to whether the remote server adjusts for DST or not. It results in WinSCP both displaying incorrect timestamps for files on the server, as well as writing wrong timestamps when uploading. ----- Original Message ---- From: Kees Jan Koster To: Tomcat Users List Sent: Friday, August 14, 2009 1:27:00 AM Subject: Re: Tomcat writing the wrong timestamp on compiled JSP's Dear Mon Cab, > Yes. That fixed it. Thankyou Kees. Glad to help. > For some reason, the issue was with my WinSCP client. > > When I edited a jsp and then looked at the jsp file timestamp on the remote machine with WinSCP it showed the timestamp as my the current time (local and remote system times are the same). However, when I looked up the timestamp of the same edited JSP on the remote box it was stamped an hour ealier than the current time. > > I reconfigured WinSCP not to preserve the timestamp, and that fixed the issue. The wierd thing is that now WinSCP is showing the remote JSP files as being timestamped an hour later. Since the system time on my local machine is correct, I'm a bit confused as to what WinSCP is doing here. I have yet to meet a developer who truly understands working with time zones and who can write code that deals with multiple time zones correctly. I have met loads of developers who think they can, though. ;-) Also, NTP is your friend. -- Kees Jan http://java-monitor.com/ kjkoster@kjkoster.org 06-51838192 Human beings make life so interesting. Do you know that in a universe so full of wonders, they have managed to invent boredom. Quite astonishing... -- Terry Pratchett --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org