tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From A A <>
Subject Re: Tomcat Language
Date Tue, 12 May 2009 06:48:30 GMT
Caldarale, That was it!!
I had recently deployed a new aplication in this tomcat, opencms 7, and it had changed the
date format and tomcat language.
So, As you said, I undeployed the application, reboot the tomcat service,and the date format
change, and fix the problem!!!

Thanks for all

--- El vie, 8/5/09, André Warnier <> escribió:
De: André Warnier <>
Asunto: Re: Tomcat Language
Para: "Tomcat Users List" <>
Fecha: viernes, 8 mayo, 2009 10:08

Caldarale, Charles R wrote:
>> From: A A []
>> Subject: Re: Tomcat Language
>> Checking java variables with and jsp in each tomcat, we see that
>> java.text.DateFormat.getInstance() returns mm/dd/yy in the english
>> manager and dd/mm/yy in the spanish manager.
>> Any suggestion?
> Examine the system properties in each Tomcat instance; this can be done
with JConsole, but installing Lambda Probe makes it easier.  Compare the two
sets for differences, especially the and user.language settings.
> This happened to one other user a few months ago, and was found to be
caused by a webapp setting those variables on the fly (as I recall).  Since
they're global, it affected everything in the JVM.
As I am this other user, I confirm (except that in my case the Tomcat Manager
started talking German one day, not Spanish).
As I recall, at some point we added a webapp, which was setting (for itself
basically) the and user.language properties when it was loaded. 
Since you cannot really control the order in which Tomcat loads the various
webapps, it was a bit random as a result.
If you have a webapp that sets these properties, remove it temporarily, restart
Tomcat, and check if that changes the Manager language.

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message