Windows Services & Locale/Robot

2006-11-01 Thread maxt

Hi

I am using Windows XP, Tomcat 5.5.17, JRE 1.5.0_08.

When using a shortcut with the following Target Properties:
"C:\Program Files\Java\jdk1.5.0_08\bin\java.exe" -jar -Duser.dir="C:\Program
Files\BMJ\Tomcat" "C:\Program Files\BMJ\Tomcat\bin\bootstrap.jar" start

my localization files work, and the use of the Robot class works.

When using Windows Services, neither work. No errors are reported.

In the Services I am using a Classpath command:
C:\Program Files\BMJ\Tomcat\bin\bootstrap.jar
and Java Options:
-Dcatalina.base=C:\Program Files\BMJ\Tomcat
-Dcatalina.home=C:\Program Files\BMJ\Tomcat
-Djava.endorsed.dirs=C:\Program Files\BMJ\Tomcat\common\endorsed

How can I use a Windows Service to read the ResourceBundle localization
files and for the Robot to work?

Thanks 
-- 
View this message in context: 
http://www.nabble.com/Windows-Services---Locale-Robot-tf2558023.html#a7128502
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Locale difference with Console and Windows Service

2006-11-03 Thread maxt

G'day

I am using Windows XP, Tomcat 5.5.17, JRE 1.5.0_08. I am in Australia. For
testing localization, my Windows Region is set to English, US.

When using the Console, tomcat5.exe, my localization files work correctly,
returning the Locale, en_US.

When using Windows Services, the Locale returned is en.AU with the same code
and Region still set to English, US.

In the Services I am using a Classpath command:
C:\Program Files\BMJ\Tomcat\bin\bootstrap.jar
and Java Options:
-Dcatalina.base=C:\Program Files\BMJ\Tomcat
-Dcatalina.home=C:\Program Files\BMJ\Tomcat

Any help explaining how to configure the correct Locale using Services would
be appreciated.

Thanks 
Max


-- 
View this message in context: 
http://www.nabble.com/Locale-difference-with-Console-and-Windows-Service-tf2567110.html#a7155099
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Locale difference with Console and Windows Service

2006-11-03 Thread maxt

Further to the below, the same situation applies to the use of the Robot
class - keystrokes appear correctly when using the Console, but nothing
happens when using the Service.

Max


maxt wrote:
> 
> G'day
> 
> I am using Windows XP, Tomcat 5.5.17, JRE 1.5.0_08. I am in Australia. For
> testing localization, my Windows Region is set to English, US.
> 
> When using the Console, tomcat5.exe, my localization files work correctly,
> returning the Locale, en_US.
> 
> When using Windows Services, the Locale returned is en.AU with the same
> code and Region still set to English, US.
> 
> In the Services I am using a Classpath command:
> C:\Program Files\BMJ\Tomcat\bin\bootstrap.jar
> and Java Options:
> -Dcatalina.base=C:\Program Files\BMJ\Tomcat
> -Dcatalina.home=C:\Program Files\BMJ\Tomcat
> 
> Any help explaining how to configure the correct Locale using Services
> would be appreciated.
> 
> Thanks 
> Max
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Locale-difference-with-Console-and-Windows-Service-tf2567110.html#a7166737
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]