You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by GOMEZ Henri <hg...@slib.fr> on 2000/03/10 07:15:13 UTC

RE: Cocoon 1.7 + Tomcat 3.1 beta

>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.


RE: Cocoon 1.7 + Tomcat 3.1 beta

Posted by Warren Mira <wo...@wowx.penguinpowered.com>.
On Fri, 10 Mar 2000, GOMEZ Henri wrote:

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

Thanks very much..its working now....