You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Rajkumar, Joseph" <ra...@orionsci.com> on 2000/03/31 19:58:43 UTC

Working Config for Tomcat 3.1b1 and Cocoon-1.7.2

Hi
    I have cocoon running great with ApacheJServ-1.1 on a dingy
Sparc-20 (50 Mhz CPU) and felt it was terrific.

   But now we have a Sun-Ultra-450 with a Quad CPU (400 Mhz)
running Solaris-2.7 begging for usage. So I want to get the following
running to demo it to my boss:

1) Apache-1.3.12 (yes this is already running fine)
2) Cocoon-1.7.2 (I got the zip file and is on the system)
3) Tomcat-3.1b1

    Can some one please send me the working config files so that
I can get this working on the the above system. I saw that Joel
Hughes had posted something similar for Windows, but I am
not a Windows-person.

    If a sample of the working config files is in some place please
point me to it.

    Also has anyone tried a product called 'Resin' as the Servet and got

it to work with cocoon, I would like to hear about it.

Many Thanks
Joseph Rajkumar



Re: Working Config for Tomcat 3.1b1 and Cocoon-1.7.2

Posted by Jari Aarniala <fo...@dlc.fi>.
|     Also has anyone tried a product called 'Resin' as the Servet and got
| it to work with cocoon, I would like to hear about it.

I use Resin as the servlet runner at the moment, but I´m seriously thinking
of changing to Tomcat, partly because Resin´s going to cost money when it
gets to the next version, at least that´s what I´ve heard. Resin´s working
fine and it´s fast, but I guess my projects will be all-apache-open-source
soon.

    Jari



Re: Working Config for Tomcat 3.1b1 and Cocoon-1.7.2

Posted by Jeremy Quinn <je...@media.demon.co.uk>.
On 31/3/00 at 12:58 pm, rajkumar@orionsci.com (Rajkumar, Joseph) wrote:

>    Also has anyone tried a product called 'Resin' as the Servet and got
>
>it to work with cocoon, I would like to hear about it.

Got it working on MacOS.

Admittedly, a very different environment ....

This is the contents of my resin.conf file:

<caucho.com>
 <http-server id='192.168.0.2' port='80' app-dir='doc' class-update-interval='2'>
  <classpath id='WEB-INF/classes' source='WEB-INF/classes'/>
  <access-log id='log/access.log' format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'/>
  <error-log id='log/error.log'/>
  <web-app id='samples'>
   <servlet-mapping url-pattern='*.xml' servlet-name='Cocoon'/>
   <servlet servlet-name='Cocoon' servlet-class='org.apache.cocoon.Cocoon'>
    <init-param>
     <param-name>properties</param-name>
     <param-value>/SharkBait/Applications/Development/Java/Cocoon-1.7/conf/cocoon.properties</param-value>
    </init-param>
   </servlet>
  </web-app>
  <servlet-mapping url-pattern='/servlet/*' servlet-name='invoker'/>
  <servlet-mapping url-pattern='*.xtp' servlet-name='com.caucho.jsp.XtpServlet'/>
  <servlet-mapping url-pattern='*.jsp' servlet-name='com.caucho.jsp.JspServlet'/>
  <web-app id='examples/tictactoe'/>
  <web-app id='examples/navigation'/>
  <web-app id='examples/xsl'/>
  <web-app id='examples/templates'>
   <servlet-mapping url-pattern='/servlet/*' servlet-name='invoker'/>
   <servlet-mapping url-pattern='/GuestJsp' servlet-name='GuestJsp'/>
   <servlet-mapping url-pattern='/GuestXtp' servlet-name='GuestXtp'/>
   <servlet-mapping url-pattern='/RSS' servlet-name='jsp.RSS'/>
   <servlet servlet-name='GuestJsp' servlet-class='jsp.GuestJsp'/>
   <servlet servlet-name='GuestXtp' servlet-class='jsp.GuestXtp'/>
  </web-app>
  <web-app id='examples/login'/>
 </http-server>
</caucho.com>


hope this helps

regards Jeremy

      ____________________________________________________________________

      Jeremy Quinn                                             media.demon
                                                           webSpace Design
     <ma...@media.demon.co.uk>       <http://www.media.demon.co.uk>
      <phone:+44.[0].207.737.6831>          <pa...@sms.genie.co.uk>