You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "ernie.ho@oracle.com" <er...@oracle.com> on 2006/11/16 01:18:48 UTC

How do you configure tomcat to use a http proxy

My tomcat is behind a proxy, is there a config file I can spexify proxy setting 

-----Original t 
Sent: 11/14/06 6:21 PM
Subject: Locale with Services

I have been trying to get Locale to work correctly with Tomcat Services.

I am in Australia and my Windows XP was originally installed for Region,
Australia.

To test Resource Bundles, I have changed the Windows Region to English - US.

I am using the line:
Locale currentLocale = Locale.getDefault();

When using Windows Services, (tomcat5w.exe), I cannot get the default Locale
correctly as en_US, but return en_AU.

tomcat6w.exe does the same.

I have re-installed Tomcat when the Windows Region has been set to US.

A small Java test program returns the default Locale as en_US correctly, so
the JRE is correctly reading the Region.

When my Tomcat is run in Console mode, it correctly returns en_US. The same
code and xml's returns en_AU when run as a Windows Service.

I do not want to 'set' the Locale but to merely test how a client's software
would react when the application is downloaded in another country.

How can I use the Tomcat Service to return the current Locale and not the
original Locale as the default?

Max


---------------------------------------------------------------------
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