tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Delbecq <delbd+jaka...@oma.be>
Subject Re: Tomcat 6 Exception Language
Date Tue, 18 Sep 2007 17:10:52 GMT
To pass parameter to tomcat service and configure it:

http://www.google.be/search?q=tomcat6+service+parameters


Fredy Provoste a écrit :
> Thak you so much Christopher, see that your information is for a Linux
> Enviromente, i'm working in windows, and i have tomcat installed as service,
> so the scripts shutdown and startup aren't here, i've tried to set the
> enviroment variable
>
> JAVA_OPTS=-Duser.language=en -Duser.country=US
>
> in windows, but still exceptions come in spanish language, thank you again
>
> Fredy
>
> 2007/9/17, Christopher Schultz <chris@christopherschultz.net>:
>   
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Fredy,
>>
>> Fredy Provoste wrote:
>>     
>>> the exceptions that server
>>> throws is in Spanish language; I wish this exception were in English
>>>       
>> You need to change the value of the system property 'user.language' to
>> 'en'. You should be able to do it like this:
>>
>> $ $CATALINA_HOME/bin/shutdown.sh
>> $ export JAVA_OPTS=-Duser.language=en -Duser.country=US
>> $ $CATALINA_HOME/bin/startup.sh
>>
>> Note that I also set the country; I'm not sure what the JVM would do
>> with a Locale of en_ES, so it's better to use en_US (or even en_GB).
>>
>> - -chris
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.7 (MingW32)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iD8DBQFG7rh79CaO5/Lv0PARAk3VAJ43y/edZNjMotvZAkwPZgjsFcQUQQCeMmbo
>> G2bKfzYMtbteMVYiBIZgomk=
>> =CwHK
>> -----END PGP SIGNATURE-----
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>     
>
>   

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message