Hi Jon-

If you were connecting into tomcat on a nix box then you would more than likely 
run under the nobody account and you or tomcat sysadmin must grant the 
requisite RuntimePermission for each individual task in catalina.policy to run 
under the 'nobody' account

Besides the windows system account I'm not sure if there is a commensurate 
account available account which would at least have
1)rights to all binaries in WINDIR folder and
2)rights to all the registered components sitting in windows registry as well as
3)interrogation and or update capability to the windows registry itself

anyone?
Martin--
--------------------------------------------------------------------------- 
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--------------------------------------------------------------------------- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
----- Original Message ----- 
From: "Jon Miller" <[EMAIL PROTECTED]>
To: "Tomcat User List" <tomcat-user@jakarta.apache.org>
Sent: Friday, December 22, 2006 5:06 PM
Subject: Re: System path being ignored when using Tomcat Windows service?


>I think it must have been a permissions problem. I switched to using a 
> different account and now it works. The systray applet doesn't work. I had 
> to change it using the normal Services application that's built into 
> Windows.
> 
> Jon
> 
> ----- Original Message ----- 
> From: "Jon Miller" <[EMAIL PROTECTED]>
> To: "Tomcat User List" <tomcat-user@jakarta.apache.org>
> Sent: Friday, December 22, 2006 2:56 PM
> Subject: System path being ignored when using Tomcat Windows service?
> 
> 
>> Hi all,
>>
>> I have a web application that uses Runtime.exec() to start a process. The 
>> process that I'm starting is in the system path. The application works 
>> fine if I'm running the Tomcat platform independent package. However, if I 
>> use the Tomcat Windows service, it appears that the process can't be 
>> created because it can't be found. It works if I specify the fully 
>> qualified path the the executable, but, I want to use only a relative 
>> path. I'm wondering if the fact that it appears to be ignoring the system 
>> path has to do with the fact that it's a Windows service, or, if it's an 
>> issue with Tomcat?
>>
>> I'm running Tomcat 5.5.20 with Sun JDK 1.5.0_10 and Windows XP SP2. Also, 
>> I noticed that if I change the user account that the Tomcat service is 
>> supposed to run as using the system tray applet, it doesn't change the 
>> settings, it just keep reverting back to LocalSystem.
>>
>> Has anyone else ran into either of these issues. As far as I can tell, the 
>> second issue looks like a bug.
>>
>> Also, I tried setting java.library.path using the applet, but, that didn't 
>> seem to help.
>>
>> Jon
>>
>>
>> ---------------------------------------------------------------------
>> 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