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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to