Tomcat will also need write access rights. When it starts, it changes some
of the XML configuration files and tries to create logs as well. You could
give your user full control to the tree under your CATALINA_HOME. Since you
say that when you set the User to have power user rights it Tomcat seems to
run, I would guess that this would fix your problem. Logs of the error might
help more but if Tomcat cannot write to the directories, logs will not be
able to be created.

Not knowing more detail, this would be my guess.

Robert S. Harper
Information Access Technology, Inc.

-----Original Message-----
From: Lalit Batra [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 08, 2005 10:56 AM
To: Tomcat Users List
Subject: Re: Windows and Tomcat

Robert, 
Thanks for replying! 
1) When I installed it I was in Admin user, and installed it with Service 
option. In windows services, "Apache Tomcat" we have an option of starting 
with USER. The service starts and shows me the owner as the "User" and even 
in the Process information from (task Managger) I see "User" as the process 
(tomcat) owner. So yes it starts with the USER I started the service with. 

2) "User" priveledges: The user has read+Execute permissions for the webapps

folder (changed it also for Aplication folder Tomcat under programs) and 
restarted many times.Still http://localhost does not come up. (I am using 
80, modified server to run on port 80).

3) If I put the "USER" to "Power User Group of XP" everything works.


please help

thanks,
Lalit


On 9/8/05, Robert Harper <[EMAIL PROTECTED]> wrote:
> 
> When you installed Tomcat, you were prompted if you want it to run as a
> service and if so, what user to use. You should be able to go into your
> Services app under ControlPannel\Administrative Tools\Services and change
> the use and password that Tomcat starts with. If you need to, create an
> account with the rights you want and set the service to start with that
> account and the password to use. You can also set how Tomcat is to start 
> as
> well.
> 
> Robert S. Harper
> Information Access Technology, Inc.
> -----Original Message-----
> From: Lalit Batra [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 08, 2005 10:32 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Windows and Tomcat
> 
> Hi!
> I am new to the world of Tomcat and have recently installed 5.5.9 on a
> Windows (2003 and XP) Box. It works fine but only with Users having
> Administrative/power user privileges.
> 1) When the service for tomcat is started with USER option, it does not go
> and read the Webapps. The folder has read+execute, read options set for 
> the
> normal USER.
> 2) I have tried the same scenarios on both XP and Server 2003, the result 
> is
> 
> same.
> 
> Do we have to configure the tomcat-users.xml and if so then how do we add
> the access for a normal user on Windows Box.
> 
> Please help!
> 
> Thanks,
> Lalit
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to