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 <[EMAIL PROTECTED]>:
-----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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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

Reply via email to