cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Heath Stewart" <hstew...@esotericrealm.com>
Subject Re: Multiple instances of Cocoon?
Date Wed, 10 Oct 2001 12:19:16 GMT
You have to setup a new context in your $CATALINA_HOME/conf/server.xml file
like so:

<Context
    docBase="cocoon.war"
    root="/develop"
    debug="0"
    .../>

See the Tomcat docs for more info. Also look for the "/examples" context in
your server.xml file already. That will give you some idea.

Heath Stewart
Systems Administrator / Developer
EsotericRealm
http://www.esotericrealm.com/~hstewart/
----- Original Message -----
From: "Hewko, Doug" <Doug.Hewko@ccra-adrc.gc.ca>
To: <cocoon-users@xml.apache.org>
Cc: <vadim.gritsenko@verizon.net>
Sent: Tuesday, October 09, 2001 5:41 AM
Subject: 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