Thanks for the reply. I tried that and it doesnt work.

I have assigned an admin user to run the service and all the admin
permissions to the webapps folder. I have the tomcat folder outside of the
program files in windows.

Not sure why it doesnt work. Any other suggestions?


Thanks and regards,
Naveen Alex



On Sat, Dec 31, 2011 at 4:44 AM, Konstantin Kolinko
<knst.koli...@gmail.com>wrote:

> 2011/12/31 Naveen Alex <naveen.a...@gmail.com>:
> > Hi,
> >
> > I am stuck with an issue on Tomcat 6.x version.
> >
> > I have two folder under /webapps/ folder called "appstore" and
> > 'static-content". appstore has a UI which will write files to a folder in
> > "static-content" directory under webapps.
> >
> > Everything works fine when i run tomcat as a standalone version but when
> i
> > run it as a windows services, the application called "appstore" is not
> able
> > to create any folders or files under "static-content".
>
> 1. Do you know that you can configure Service to use a user's account
> when it runs? That can be done in the Windows Control Panel or in the
> Tomcat Service configuration program (tomcat6w.exe).
>
> If you not not configure it to use a user's account it will use a
> special system account called LocalService and that might not have
> necessary permissions.
>
> 2. UAC of Windows Vista and later can interfere with the above.
> Especially if you have installed Tomcat to C:\Program Files. (IIRC it
> is possible to circumvent it by assigning some permissions to the
> installation folder, but the FAQ does not mention it)
>
> See
> http://wiki.apache.org/tomcat/FAQ/Windows
>
> >
> > I tried giving security manager options in the registry but still it
> doesnt
> > work. Pls help me out. Cant understand why it works for standalone or not
> > as a windows service.
>
> What do you mean by "security manager"? Java security manager is quite
> a different beast.
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to