Setting default locale for Tomcat Service in Windows XP

kazanaki :

I have installed Apache Tomcat 6 as a Service in a Windows XP computer (French)

My problem is that Tomcat itself and all webapps (Sonar and Hudson) now show french messages. I want English messages of course so I went to the "Regional Settings" window in Control panel and changed everything to English (US)

Tomcat however is still in French. Nothing changed at all.

I suspect that because it runs as a service it does not pick the settings from control panel.

So is there any way to trick the Tomcat JVM so that it uses English instead of French? I have sys admin access to the machine (XP PRO French)

Thank you

Brian Agnew :

You need to set user.language and user.region appropriately,

e.g.

java -Duser.language=en -Duser.region=CA

in your Tomcat startup (probably catalina.bat). Check this link for more info, and for references to the sets of valid ISO codes for the above.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Open a Folder in a New Windows XP Explorer Window without Setting that as the Default?

How to install Tomcat 8 ZIP as a Windows XP service?

Setting JAVA_OPTS while installing Tomcat as windows service

Are Windows XP Service Packs Cumulative?

Default setting of Windows Firewall

Windows XP: Consequences of setting a password for an account

Setting up WAMP Server on Windows XP

How to (re)set permissions for a Service in Windows XP

Setting default height on vim windows

rails 4, globalize gem, how to setting default locale

Which keyboard setting corresponds to "United States (International)" in Windows XP

Accept() timeout setting on Windows XP SP3

How to port Tomcat 6 application from Windows XP to Linux?

Installed Tomcat 8 with JAMWiki on Windows XP, Now Getting Parsing Error

Setting User Environment Variables for tomcat on Windows

How to use English as a default language for software in Windows XP?

How can I change the default file presentation for Windows XP

Windows XP SP3 keep default Administrator as only Administrator

Setting a permanent default communications device in Windows 10

What is the default path setting for windows 8?

Change the default view setting for Explorer in Windows 8.1

Setting the default Printer for windows using c#

Synergy Client 1.4.12 as a boot-time service in Windows XP

Windows XP Service Pack 3 installation on a PC with no Internet connection

What is a safe download link for Windows XP Service Pack 3?

How can I run a VirtualBox machine as a service on Windows XP ?

Setting private key in certificate hangs windows service

Tomcat 6.0.18 service will not start on a windows server

Unable to use JConsole with Tomcat running as windows service