cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enke, Michael" <michael.e...@wincor-nixdorf.com>
Subject Re: cocoon on tomcat 4.1.9
Date Wed, 28 Aug 2002 15:49:19 GMT
This is to save you some time if you switch to newer tomcat (4.1.9, maybe all 4.1.x?)
Can someone subscribed to cocoon-users post this there?

It is no longer allowed to point with symbolic links outside the
directory (down) where the servlet is located:

look at
catalina/core/ApplicationContext.java or
catalina/servlets/DefaultServlet.java:

    /**
     * Return a context-relative path, beginning with a "/", that represents
     * the canonical version of the specified path after ".." and "." elements
     * are resolved out.  If the specified path attempts to go outside the
     * boundaries of the current context (i.e. too many ".." path elements
     * are present), return <code>null</code> instead.
     *
     * @param path Path to be normalized
     */
    private String normalize(String path) {
     ...


Regards,
Michael


"Enke, Michael" wrote:
> 
> Sorry,
> that is not true, init() is called. But the output goes not to catalina.out
> but to localhost_log
> 
> "Enke, Michael" wrote:
> >
> > Hi,
> > I found that in CocoonServlet the init method is not called
> > from tomcat 4.1.9
> > Does anybody have heared about this and knows how to solve?

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


Mime
View raw message