Re: Tomcat/Java app timezone radomly changes during operation.

2022-11-08 Thread George Sexton
When you say the time is wrong, how do you know this. Are you using a DateFormatter? Are you instantiating one, and re-using it? Could some code re-using a DateFormatter be changing the time zone? On 10/28/2022 8:22 AM, David wrote: I'll see if I can answer all queries. The server doesn't m

Re: Tomcat/Java app timezone radomly changes during operation.

2022-10-28 Thread David
Also to note, I'm unsure if the TZ in the header is being sent or if there would be a change in those. The F5 offloads connections to the box, so every session is a local SNAT from the F5, but it's something to investigate. Thanks again for your leads everyone! On Fri, Oct 28, 2022, 09:22 David

Re: Tomcat/Java app timezone radomly changes during operation.

2022-10-28 Thread David
I'll see if I can answer all queries. The server doesn't migrate, at least not across timezones. It is a nutanix virtual though, so migration between hosts locally is possible. There is a Java app that allows a user to reset their password. The db is called to retrieve a generated code for the

Re: Tomcat/Java app timezone radomly changes during operation.

2022-10-28 Thread Konstantin Kolinko
чт, 27 окт. 2022 г. в 18:31, David : > > Hi all, > > I've experienced an issue since the morning of the 21st that I'm > hoping to get some direction on for where to look. > > An app uses the date/time to set a timeout for a password reset. > This had been working fine for years and sudd

Re: Tomcat/Java app timezone radomly changes during operation.

2022-10-28 Thread Chuck Caldarale
> On Oct 28, 2022, at 02:10, Terence M. Bandoian wrote: > > Have you tried setting the JVM time zone with an environment variable or JVM > argument or with TimeZone.setDefault? I think Mark Thomas mentioned earlier > that Tomcat may invoke TimeZone.setDefault. No, Mark said the opposite. Tomc

RE: Tomcat/Java app timezone radomly changes during operation.

2022-10-28 Thread Hiran CHAUDHURI
diately when such a line of code is reached. Hiran -Original Message- From: David Sent: Thursday, October 27, 2022 17:31 To: Tomcat Users List Subject: Tomcat/Java app timezone radomly changes during operation. CAUTION: External mail. Be careful with links and attachments. Hi all,

Re: Aw: Tomcat/Java app timezone radomly changes during operation.

2022-10-27 Thread Terence M. Bandoian
On 10/27/2022 6:27 PM, Peter Rader wrote: Hi David, is it a moving server? We had similar issues on a airborn server crossing nation-borders rapidly. 10 minutes is unusual. The lowest timezone-change is 15 minutes afaik. Kind regards Hi all, I've experienced an issue since the morning of

Aw: Tomcat/Java app timezone radomly changes during operation.

2022-10-27 Thread Peter Rader
Hi David, is it a moving server? We had similar issues on a airborn server crossing nation-borders rapidly. 10 minutes is unusual. The lowest timezone-change is 15 minutes afaik. Kind regards > > Hi all, > > I've experienced an issue since the morning of the 21st that I'm > hoping to get some

Re: Tomcat/Java app timezone radomly changes during operation.

2022-10-27 Thread Mark Thomas
David, I strongly suspect TimeZone.setDefault() is being called somewhere. I can confirm it isn't Tomcat calling it. If the problem was preceded by any application updates, I'd start looking there. Mark On 27/10/2022 16:31, David wrote: Hi all, I've experienced an issue since the m

Tomcat/Java app timezone radomly changes during operation.

2022-10-27 Thread David
Hi all, I've experienced an issue since the morning of the 21st that I'm hoping to get some direction on for where to look. An app uses the date/time to set a timeout for a password reset. This had been working fine for years and suddenly it failed. A restart of tomcat allowed it to