Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 78487 invoked from network); 17 Jul 2000 15:48:49 -0000 Received: from hermes.sop.cstb.fr (195.83.40.40) by locus.apache.org with SMTP; 17 Jul 2000 15:48:49 -0000 Received: from proxima.sop.cstb.fr by hermes.sop.cstb.fr with SMTP (1.38.193.4/16.2) id AA14579; Mon, 17 Jul 2000 17:57:17 +0200 Message-Id: <0a9501bff005$ebf5cb00$6d2853c3@sop.cstb.fr> From: "Olivier Richaud" To: References: <3971D92E.27688.99195F@localhost> Subject: Re: Installing Instructions for Resin. Date: Mon, 17 Jul 2000 17:44:40 +0200 Organization: CSTB Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-Msmail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-Mimeole: Produced By Microsoft MimeOLE V5.00.2014.211 I carrefully read your contribution, but it did not mention a way to make resin works with Apache. In the past, I tried to have resin work with cocoon, but it failed. Resin could not handle post method with Cocoon (it complained there was no support for post in Cocoon). have you ever experienced a similar behaviour. I think I missed something at the time. OFF-TOPIC: The second issue I would like to raise is whether Resin is faster than Tomcat, or not? I heard it is the case. Thanks in advance. Olivier Richaud CSTB office: +33 4 93 95 67 24 mobile: +33 6 87 52 53 17 www: http://cic.cstb.fr ----- Message d'origine ----- De : Francisco Jr. � : Envoy� : dimanche 16 juillet 2000 20:47 Objet : Installing Instructions for Resin. > > > Hi all. > This is my first contribution to Cocoon. > I'm posting installing instructions for Resin. > Please, let me know if they are confusing or something else. > Thanks in advance! > > Sorry for taking so long. > > > doc starts here. > ------------------ > > >

> After you have obtained Cocoon distribution files you have to make Resin aware of them. >

>

> When starting Resin ( using httpd.sh for Unix or httpd.exe for Windows ) pass the location of .jar's Cocoon distribution as httpd -cp <yourcocoonvariable> %CLASSPATH% on Windows or httpd -cp <yourcocoonvariable>: > $CLASSPATH on Unix. Where yourcocoonvariable is a variable locating all Cocoon components in the form: yourcocoonvariable=[path-to-cocoon] > /cocoon.jar;[path-to-cocoon]/lib/Xerces_x_x_x.jar etc, etc > This variable will be passed to Java classpath before Resin own components. > This is necessary to put Xerces before Resin xml parser because there is some incompatibilities when using Cocoon XSP with Resin's parser. >

> > To see what parameters Resin is using, try start it with -verbose parameter. Resin will show what it is doing and how it is initializing JVM > > > > Make sure you put Xerces_x_x_x.jar before Resin internal xml parser in Java classpath as stated above. Otherwise you will have problems with XSP because DOM incompatibilities of xml parsers. > > >

> Next you need to configure Resin to tell Cocoon where to find its properties file and to map Cocoon to XML Documents. > In resin.conf located on [path-to-Resin]/conf you have to add the following: >

> urce> > > properties > [path-to- cocoon.properties]/cocoon.properties > > > > > ]]> >

> This must be put inside any servlet context you want use Cocoon. The servlet context is defined by <web-app> ... </web-app>. > Servlet contexts also can be in a file called web.xml inside WEB- INF directory. Just put the code above inside <web- app> ... </web-app> that is in the web.xml. >

> >

> For now, you don't need to change anything from cocoon.properties. You can > later change the file for especific needs or operations. >

> >

> That's it! You have successfully configured Cocoon on Resin! To test it, start Resin > as indicated above and try to access: >

> > http://localhost:8080/cocoon.xml > >

> If you configured Cocoon to use the root servlet context and Resin is listening on port 8080 or: >

> > http://localhost:8080/[yourservletcontextname]/cocoon.xml > >

> If you configured Cocoon to user a servlet context called 'yourservletcontextname'. > You should see a screen showing Cocoon internal c onfiguration values. >

> >
> > -------------------- > here ends docs. > > Please note that this doc is in proper xml for Cocoon xdocs. > Just put it inside installing.xml and rebuild docs. > > I will be posting installing instructions for Cocoon2 too! > > > --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org > >