cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 12131] New: - work-dir parameter
Date Wed, 28 Aug 2002 17:08:45 GMT
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=12131>.
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=12131

work-dir parameter

           Summary: work-dir parameter
           Product: Cocoon 2
           Version: Current CVS
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: core
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: michael.enke@wincor-nixdorf.com


work-dir is initialized from web.xml:
    <!--
      This parameter allows to specify where Cocoon should put it's
      working files. The path specified is always relative to the
      context path of the Cocoon servlet.
      Usually it is obtained from the servlet engine.
 
    <init-param>
      <param-name>work-directory</param-name>
      <param-value>/WEB-INF/work</param-value>
    </init-param>
    -->

But with the change from CocoonServlet v1.19 -> v1.20 this will be
the absolute path on disk, not relative to context!

Solution: Either change comment in web.xml, but than all other directories
(upload, cache) should behave same -> change CocoonServlet.java for other
directories, or change it back so that this is always relative to context.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message