cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GOMEZ Henri <hgo...@slib.fr>
Subject RE: Cocoon 1.7 + Tomcat 3.1 beta
Date Fri, 10 Mar 2000 06:15:13 GMT
>Anyone successfully tried installing cocoo+tomcat. I have 
>tried the docs
>on the cocoon site but its seems that cocoon is not processing the xml
>files. But http://localhost/Cocoon.xml shows some output.

Where did you put the xml files ?

I works well for me on a Redhat 6.1 box :
* IBM JDK 1.1.8
* apache 1.3.12 + modssl 2.6.2 + mod_jerv (from tomcat not from jserv 1.1)
* tomcat 3.1b1 + cocoon 1.7 + xerces 1.0.1 + xalan 0.19.5 + fop 0.12.1)

I add this to my web.xml (/opt/tomcat/conf/web.xml)

<servlet>
 <servlet-name>org.apache.cocoon.Cocoon</servlet-name>
  <servlet-class>org.apache.cocoon.Cocoon</servlet-class>
   <init-param>
    <param-name>properties</param-name>
     <param-value>
      /opt/cocoon/conf/cocoon.properties
     </param-value>
   </init-param>
  </servlet>
  <servlet-mapping>
  <servlet-name>org.apache.cocoon.Cocoon</servlet-name>
  <url-pattern>*.xml</url-pattern>
</servlet-mapping>

I copied all cocoon samples directory in tomcat examples dir via

cp -rf /opt/cocoon/samples /opt/tomcat/webapps/examples

Works now like a charm.


Mime
View raw message