I'd start by getting things working running tomcat *not* as a service. Once that is done switch to using a service.
If you look at the service Log On control panel you'll see a "Allow service to interact with desktop" checkbox. This will need to be set for you to see a program running on your desktop. That option can only be set for the local system user - not adminsitartor. Paul > -----Original Message----- > From: andy wix [mailto:[EMAIL PROTECTED] > Sent: 26 November 2004 10:23 > To: [EMAIL PROTECTED] > Subject: RE: server shutdown > > > Hi, > > I have now set up the Tomcat service to run as administrator > (temporarily) > but this doesn't resolve the problem. > I am now only trying to run notepad from the exec command: > > Runtime runtime = Runtime.getRuntime(); > Process proc = runtime.exec("C:\\WINDOWS\\system32\\notepad.exe"); > > This code works fine from a stand-alone program but not from Tomcat. > > Could there be some security issue with the Tomcat security > permissions? > > Thanks, > Andy > > _________________________________________________________________ > Express yourself with cool new emoticons > http://www.msn.co.uk/specials/myemo > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > Axios Email Confidentiality Footer Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message, and notify us immediately. If you or your employer does not consent to Internet email messages of this kind, please advise us immediately. Opinions, conclusions and other information expressed in this message are not given or endorsed by my Company or employer unless otherwise indicated by an authorised representative independent of this message. WARNING: While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted via electronic mail attachments we cannot guarantee that attachments do not contain computer virus code. You are therefore strongly advised to undertake anti virus checks prior to accessing the attachment to this electronic mail. Axios Systems Ltd grants no warranties regarding performance use or quality of any attachment and undertakes no liability for loss or damage howsoever caused. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]