File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Windows Services & Locale/Robot

 
Max Telfer
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic