cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lee Goddard" <h...@leegoddard.com>
Subject RE: Cocoon, Tomcat and IIS...
Date Thu, 10 May 2001 08:46:08 GMT

> Tomcat and IIS work well together, amazingly.
> But I'm getting a 404 on *.xml files.
>
> The install guide http://xml.apache.org/cocoon/install.html#tomcat
> only applies to Tomcat with Apache, but from I've followed all the
> steps I can apply, and guess my problem lies around the file
> 'cocoon.properties'.
>
> I've copied it from the Cocoon distribution to my Tomcat
> webapps/cocoon/WEB-INF directory, and have run into a possible
> *thing* in the docs:
>
>   "... edit the $TOMCAT_HOME/webapps/cocoon/WEB-INF/web.xml file to
>    point to the Cocoon properties file in the same directory. Do this by
>    changing the text conf/cocoon.properties to WEB-INF/cocoon.properties.
>    Note that this path is a relative path, and must be so. Don't
>    try to use an absolute path here. It won't work. Also note that the
>    web.xml file describes how to map .xml requests to the Cocoon servlet."
>
> The original line in the web.xml file read:
>
> <param-value>[path-to-cocoon]/WEB-INF/cocoon.properties</param-value>

It should be set to

   <param-value>WEB-INF/cocoon.properties</param-value>

which does leave the prose as kind of confusing to me, but hey.

lee


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message