The Tomcat xml's are set to their install defaults.
When using the Console, tomcat5.exe, my localization files work correctly, returning the Locale, en_US in the string str.
When using Windows Services, the Locale string returned is en.AU with the same code and the Region still set to English, US.
The code used is:
Expand|Select|Wrap|Line Numbers
- Locale currentLocale = Locale.getDefault();
- String str = currentLocale.toString();
-Dcatalina.base=C:\Program Files\BMJ\Tomcat
-Dcatalina.home=C:\Program Files\BMJ\Tomcat
Any help explaining how to get the default Locale using Services would be appreciated. I do not want to set the Locale, but to get and apply my users default Locale using Services.
The same applies to the use of the Robot class used for sending keystrokes. OK with Console, no response or error with Services.
Thanks
Max