cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Riedl Juergen <Juergen.Ri...@icn.siemens.de>
Subject AW: Multiple instances of Cocoon?
Date Tue, 09 Oct 2001 13:25:38 GMT
In my opinion then you need to add into your Tomcat conf/web.xml that the match to "document"
shall be forwarded to the org.what ever.Cocoon servlet.
see also the O'Reilly online available chapter of "XML and Java" which discusses Cocoon as
your issue.
Juergen

> -----Urspr> √ľngliche Nachricht-----
> Von:	Hewko, Doug [SMTP:Doug.Hewko@ccra-adrc.gc.ca]
> Gesendet am:	Dienstag, 9. Oktober 2001 12:41
> An:	'cocoon-users@xml.apache.org'
> Cc:	'vadim.gritsenko@verizon.net'
> Betreff:	RE: Multiple instances of Cocoon?
> 
> How can you have multiple Cocoon webapps? What do I need to do? I also
> copied my "cocoon" directory into a new directory called "develop" and I was
> unable to access http://localhost/develop
> 
> 
> 
> > -----Original Message-----
> > From: Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net]
> > Sent: October 7, 2001 9:22 AM
> > To: cocoon-users@xml.apache.org
> > Subject: RE: Multiple instances of Cocoon?
> > 
> > 
> > > -----Original Message-----
> > > From: Hewko, Doug [mailto:Doug.Hewko@ccra-adrc.gc.ca]
> > > Sent: Thursday, October 04, 2001 12:09 PM
> > > To: 'cocoon-users@xml.apache.org'
> > > Subject: Multiple instances of Cocoon?
> > > 
> > > 
> > > Can you have multiple instances of Cocoon running at the 
> > same time? I would
> > > like to split my web site in Cocoon into a development and 
> > testing system.
> > 
> > Yes. You can have multiple Cocoon webapps.
> > 
> > > 
> > > I tried adding a development directory structure in my 
> > sitemap.xmap with
> > > limited success. My relative links do not work as the web 
> > pages are being
> > > redirected from my development version to the real version.
> > 
> > I did not get this. Could you provide more details?
> 
> Sure:
> 
> I have a page called "minutes", which is entered in the sitemap.xmap as
> below....
> 
>    <map:match pattern="minutes.html">
>     <map:generate src="xmlproject/meeting/minutes.xml"/>
>     <map:transform src="xmlstylesheets/page/simple-page2html.xsl"/>
>     <map:serialize type="html"/>
>    </map:match>
> 
> The only way I could get a development side working was to create the
> following additional entry:
> 
>    <map:match pattern="develop/minutes.html">
>     <map:generate src="develop/xmlproject/meeting/minutes.xml"/>
>     <map:transform src="develop/xmlstylesheets/page/simple-page2html.xsl"/>
>     <map:serialize type="html"/>
>    </map:match>
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message