File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Windows Services & Locale/Robot Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Windows Services & Locale/Robot" Watch "Windows Services & Locale/Robot" New topic
Author

Windows Services & Locale/Robot

Max Telfer
Greenhorn

Joined: Apr 07, 2006
Posts: 3
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
 
subject: Windows Services & Locale/Robot
 
Similar Threads
Problem connecting to an Oracle database
problem whith installation Tomcat
installing Tomcat 5.5 for Head First JSP
Tomcat is *almost* running
Not able to start Tomcat