You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Mike Engelhart <me...@earthtrip.com> on 2000/01/20 19:34:30 UTC

re: getCanonicalPath()

Ok - i discovered another situation in which my system will work.  If I
configure my Tomcat "server.xml" file like with the following:
<Context 
    path="/" 
    docBase="cocoon"
    defaultSessionTimeOut="30"
    isWARExpanded="true"
    isWARValidated="false"
    isInvokerEnabled="true"
    isWorkDirPersistent="false"
/>

Everything works fine.   If I have it configured where a different webapp
has a path of "/" and cocoon is set up like this:

<Context 
    path="/cocoon" 
    docBase="cocoon"
    defaultSessionTimeOut="30"
    isWARExpanded="true"
    isWARValidated="false"
    isInvokerEnabled="true"
    isWorkDirPersistent="false"
/>


Then I get bad path errors from getCanonicalPath() from the XSP code.

Any ideas?