Dear Mon Cab,
Given the results below it looks like this is not a daylight savings
time issue. In fact its extremely odd behavior. Both Tomcat and
the OS have the correct time, and yet when Tomcat compiles the JSP,
the java and class files in the work directory have a create /
modified
: Re: Tomcat writing the wrong timestamp on compiled JSP's
Dear Mon Cab,
Given the results below it looks like this is not a daylight savings time
issue. In fact its extremely odd behavior. Both Tomcat and the OS have the
correct time, and yet when Tomcat compiles the JSP, the java and class
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
as writing wrong timestamps when
uploading.
- Original Message
From: Kees Jan Koster kjkos...@gmail.com
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, August 14, 2009 1:27:00 AM
Subject: Re: Tomcat writing the wrong timestamp on compiled JSP's
Dear Mon Cab,
Yes
Kees Jan Koster wrote:
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
2009/8/14 André Warnier a...@ice-sa.com:
But since I am also a heavy user of WinSCP, connecting to my various Apache
and Tomcat machines, and I also see that same issue (some server sometimes
showing me server files with a timestamp off by one hour more or less), and
this has been puzzling me
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mon,
On 8/14/2009 1:18 AM, Mon Cab wrote:
import java.util.*;
public class DateTest {
public static void main(String[] args) {
System.out.println(Date = + new Date());
System.out.println(Calendar = + Calendar.getInstance());
}
}
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 8/14/2009 9:08 AM, André Warnier wrote:
My systems are using NTP to synchronise their time, workstations too.
But I still see this discrepancy.
I think Kees Jan was saying that NTP is just generally a good idea, not
that it has anything
Another issue to consider is that Tomcat runs a single instance of Java
VM, but often runs multiple webapps. If each webapp takes the approach
that it can set the default timezone to its liking, you'll find that
you get a mixed bag based on which webapp was the last to reload. At
least
2009/8/14 André Warnier a...@ice-sa.com:
This is really off-topic here, being WinSCP more than anything else.
But since I am also a heavy user of WinSCP, connecting to my various Apache
and Tomcat machines, and I also see that same issue (some server sometimes
showing me server files with a
Christopher Schultz wrote:
It sounds like WinSCP is assumes that everyone uses the same DST rules
and applies them blindly. No amount of date synchronization can make
WinSCP less stupid :)
To the defense of WinSCP, it is not a stupid program in general, at the
contrary. That is why this time
Konstantin Kolinko wrote:
WinSCP documentation:
http://winscp.net/eng/docs/timestamp
FAQ pages (they point back to documentation, though):
http://winscp.net/eng/docs/faq_win_timestamp
http://winscp.net/eng/docs/faq_timestamp
Thanks. I had not seen those, and they do seem reasonable. Seems
When I edit a JSP, tomcat is compiling the JSP (both java and class files) in
the work directory with a timestamp exactly 1 hour greater than the current
time.
Eg. If I edit a jsp (after emptying the work directory), at 20:00, and then
load the page from a client, class and java files will
The time stamp on the file is given by your OS. What operating system
and version are you using? Also, what time zone are you in?
André-John
On 13-Aug-2009, at 23:38, Mon Cab wrote:
When I edit a JSP, tomcat is compiling the JSP (both java and class
files) in the work directory with a
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, August 13, 2009 8:50:54 PM
Subject: Re: Tomcat writing the wrong timestamp on compiled JSP's
The time stamp on the file is given by your OS. What operating system and
version are you using? Also, what time zone are you in?
André-John
On 13
...@sympatico.ca
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, August 13, 2009 8:50:54 PM
Subject: Re: Tomcat writing the wrong timestamp on compiled JSP's
The time stamp on the file is given by your OS. What operating system and
version are you using? Also, what time zone are you
On 13-Aug-2009, at 23:55, Mon Cab wrote:
That's what I thought.
However if I edit and reload a file at 20:00, and check the system
time with date command I get 20:00 as the system time.
And yet the compiled Java and Class files are timestamped 21:00
What operating system and version
I'm using Fedora, and timezone is PDT. Pacific.
- Original Message
From: Andre-John Mas aj...@sympatico.ca
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, August 13, 2009 9:01:34 PM
Subject: Re: Tomcat writing the wrong timestamp on compiled JSP's
On 13-Aug-2009
On 13-Aug-2009, at 23:59, Mon Cab wrote:
Sorry forgot to answer your other questions. I'm using Fedora, and
timezone is PDT. Pacific.
Which Fedora version? Also what version of Java?
I am wondering whether there is a daylight saving issue. Maybe there
is something in this article of
On 14-Aug-2009, at 00:09, Andre-John Mas wrote:
On 13-Aug-2009, at 23:59, Mon Cab wrote:
Sorry forgot to answer your other questions. I'm using Fedora, and
timezone is PDT. Pacific.
Which Fedora version? Also what version of Java?
I am wondering whether there is a daylight saving
users@tomcat.apache.org
Sent: Thursday, August 13, 2009 9:09:53 PM
Subject: Re: Tomcat writing the wrong timestamp on compiled JSP's
On 13-Aug-2009, at 23:59, Mon Cab wrote:
Sorry forgot to answer your other questions. I'm using Fedora, and timezone
is PDT. Pacific.
Which Fedora version
be going on here??
- Original Message
From: Mon Cab futo...@yahoo.com
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, August 13, 2009 9:27:18 PM
Subject: Re: Tomcat writing the wrong timestamp on compiled JSP's
Fedora Core release 4 (Stentz)
Java 1.4.2
I ran the code
22 matches
Mail list logo