You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/10/10 16:41:01 UTC

DO NOT REPLY [Bug 13497] New: - workDir parameter in server.xml context is ignored by Tomcat

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13497>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13497

workDir parameter in server.xml context is ignored by Tomcat

           Summary: workDir parameter in server.xml context is ignored by
                    Tomcat
           Product: Tomcat 4
           Version: 4.1.12
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: melonie.brown@forscom.army.mil


According to
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html, "workDir"
specifies the Pathname to a scratch directory to be provided by this Context for
temporary read-write use by servlets within the associated web application. If
not specified, a suitable directory underneath $CATALINA_HOME/work will be provided.

When I specify this parameter in my context (as shown below), it is ignored and
all files continue to be written to the $CATALINA_HOME/work directory.

<Context path="/myapp" docBase="myapp"  workDir="/myapp/otherwork" />

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>