cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "HuiSion Teh" <>
Subject RE: Cocoon 1.7.4 + Tomcat3.1 + Sun SDK SE 1.2.2 +SuSE 6.4 install almost ok,pls help
Date Mon, 26 Jun 2000 17:03:49 GMT
My Cocoon 1.7.4 + Tomcat3.1 + Sun SDK SE 1.2.2 +SuSE 6.4 finally works, at
least the examples does. The problem was i forgotten to add AddType and
AddHandler for *.xml in httpd.conf.

"HuiSion Teh" <> wrote:
>I have the above installed. I can run Tomcat JSP and Servlets. I can run
>When I copied the Cocoon Hello example to
>TOMCAT_HOME/webapps/examples/hello/ and try to run the hello-page.xml file,
>the browser prompt for a dialog for Save As Type text/xml.
>I have TOMCAT_HOME/conf/web.xml edited to have
>       ::
>	<param-value>
>       </param-value>
>       ::
>And I copied the file to
>TOMCAT_HOME/webapps/examples/hello/ as well as TOMCAT_HOME/webapps/ROOT/.
>Anyone can help what went wrong?
>Must be in every Cocoon directory?

With your current setup, must be put in the root of every
context served by Cocoon. In this case it needs to be in
TOMCAT_HOME/webapps/ROOT/ and TOMCAT_HOME/webapps/examples/

Are you sure that this is in your web.xml file for the examples context?


It must be at the correct "level" in the web.xml file - that is, it must be
inside the <web-app> tag but NOT inside any other tag.

That could be your problem. You should not get text/xml files returned from
the samples; they should return HTML.

Also make sure you copy the .xsl stylesheets needed by the examples if any.


300+ Open Source Java links! -

Get Your Private, Free E-mail from MSN Hotmail at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message