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