you'll need to set Tomcat to run as a service under a username that has Admin 
rights to the XP box.

That should work. I'm doing something similar but with Win2k.

-----Original Message-----
From: Warren [mailto:[EMAIL PROTECTED]
Sent: Friday, July 28, 2006 4:17 PM
To: users@tomcat.apache.org
Subject: Tomcat running as service on XP?
Runtime.getRuntime().exec(commandLine)


I have Tomcat 5.5 installed on a Windows XP machine. I am running an app
that uses MS Access to print reports via:

Process p = Runtime.getRuntime().exec(commandLine);

So far this combination has been very reliable when running Tomcat under the
current logged in user. But when I run Tomcat as a service, which is what I
would prefer to do, Access does not run at all and I do not get any
exceptions from my app. I have a feeling it has something to do with
Windows/services permissions or group policies, but I have not gotten very
far with that.

If this is more a Windows question, please point me to a newsgroup where I
can get an answer. Any help would be greatly appreciated.

Thanks,

Warren Bell


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to