cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Engelhart <mengelh...@earthtrip.com>
Subject Re: Help w/ Apache and Tomcat serving Cocoon pages
Date Tue, 26 Sep 2000 13:02:39 GMT
<fontfamily><param>Helvetica</param>

On Monday, September 25, 2000, at 04:15 PM, Brett G. Palmer wrote:


<italic>I added these to my tomcat.conf file, but cocoon is not processing the *.xml</italic><color><param>0000,0000,0000</param>

<italic></italic></color><italic>pages.  Instead they are just being
returned as plain XML documents.  If my</italic><color><param>0000,0000,0000</param>

<italic></italic></color><italic>httpd.conf file includes the tomcat-apache.conf
file is tomcat still using</italic><color><param>0000,0000,0000</param>

<italic></italic></color><italic>the tomcat.conf file or as tomcat-apache.conf
replaced it?</italic><color><param>0000,0000,0000</param>


No - they're the same thing.  I'm not sure why there are two of them in the conf directory.
  Use one or the other.



<italic></italic></color><italic>The syntax between JServ and tomcat
is confusing.  For example, to serve JSP</italic><color><param>0000,0000,0000</param>

<italic></italic></color><italic>pages from Apache/Tomcat I have the
following lines in my tomcat.conf file:</italic><color><param>0000,0000,0000</param>


<italic></italic></color><italic>1. AddType  text/jsp .jsp</italic><color><param>0000,0000,0000</param>

<italic></italic></color><italic>2. AddHandler jserv-servlet .jsp</italic><color><param>0000,0000,0000</param>


<italic></italic></color><italic>But the syntax you suggested is very
different for *.xml files:</italic><color><param>0000,0000,0000</param>


<italic></italic></color><italic>1. Action  cocoon  /usr/local/cocoon/bin/cocoon.jar</italic><color><param>0000,0000,0000</param>

<italic></italic></color><italic>2. AddHandler  cocoon  .xml</italic><color><param>0000,0000,0000</param>


Don't worry about the differences for now. It just works.    

<italic></italic></color><italic>Is there some documentation that
explains the parameters for the JServ and</italic><color><param>0000,0000,0000</param>

<italic></italic></color><italic>tomcat.conf files?</italic><color><param>0000,0000,0000</param>


<flushleft><x-tabstops><param>28L;56L;84L;112L;140L;168L;196L;224L;252L;280L;308L;336L;</param></x-tabstops></flushleft></color><x-tabstops><param>28L;56L;84L;112L;140L;168L;196L;224L;252L;280L;308L;336L;</param>If
you're interested, the JServ pages at http://java.apache.org should have all the information
you need about the different parameters.


Tomcat conf is really just an "include" for the JServ properties that is included with Apache.
 I think this was so it was easier to grasp because the JServ conf file is pretty complex
looking (event though it's not complex ;-)).



Mike

<color><param>0000,0000,0000</param>


Mime
View raw message