tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Gunn" <>
Subject RE: write access to c:\winnt\system32
Date Mon, 12 Apr 2004 15:53:38 GMT
Thanks for the help.  I added the following registry key to change the
working directory for the service and it now works.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat
4.1\Parameters\Current Directory=c:\Tomcat4.1\work


Chris Gunn
Titan Corporation
(804) 550-7272 office
(804) 651-8953 cell 

-----Original Message-----
From: Shapira, Yoav []
Sent: Monday, April 12, 2004 11:17 AM
To: Tomcat Users List
Subject: RE: write access to c:\winnt\system32


>Ok, I guess I read this wrong, or this person was wrong too.
>Either way, something seems to require write access to the system32
>directory because it works fine with full permissions, but fails when
>access is denied.  It's trying to create files like

Neither Eric was wrong nor did you read it wrong.  It's a simple
configuration issue:
- Don't start tomcat from %systemroot%\system32 (so it doesn't get set
as the working directory),
- Make sure that directory is not set as (the tomcat
scripts don't do this, but in case you overrode/customized them),
- Make sure the JSP servlet (in $CATALINA_HOME/conf/web.xml) has a
scratchdir you like (see

I think that's it.

Yoav Shapira

This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message