You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jean-Claude Moissinac <mo...@enst.fr> on 2008/02/06 21:17:39 UTC
Applications ouside the cocoon tree
Until I was using some cocoon applications directly in a standalone cocoon.
To be able to easily manage several versions of cocoon, I was using a
mount-table.xml in
the main directory of each new version of a Cocoon installation; something like
<mount-table>
<mount uri-prefix="CocoonGallery/"
src="file://C:/Documents/Dvpt/Eclipse/workspaceCocoonComplet/CocoonSites/CocoonGallery/"/>
<mount uri-prefix="paam/"
src="file://C:/Documents/Dvpt/Eclipse/workspaceCocoonComplet/CocoonSites/paam/"/>
...
</mount-table>
I needed only to copy the mount-table in the new installation and it works.
Now, I have installed a cocoon.war in a tomcat container.
I don't find how to specify to this cocoon servlet where to get the
cocoon applications?
is it a way to mount them into the servlet?
Thanks in advance for your help
--
--
Jean-Claude Moissinac
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Applications ouside the cocoon tree
Posted by Jean-Claude Moissinac <mo...@enst.fr>.
OK
it works with my mount-table.xml file in the root directory of my tomcat
Thank you
2008/2/6, Steven D. Majewski <sd...@virginia.edu>:
>
> On Feb 6, 2008, at 3:17 PM, Jean-Claude Moissinac wrote:
>
> > Until I was using some cocoon applications directly in a standalone
> > cocoon.
> > To be able to easily manage several versions of cocoon, I was using a
> > mount-table.xml in
> > the main directory of each new version of a Cocoon installation;
> > something like
> >
> > <mount-table>
> > <mount uri-prefix="CocoonGallery/"
> > src="file://C:/Documents/Dvpt/Eclipse/workspaceCocoonComplet/
> > CocoonSites/CocoonGallery/"/>
> > <mount uri-prefix="paam/"
> > src="file://C:/Documents/Dvpt/Eclipse/workspaceCocoonComplet/
> > CocoonSites/paam/"/>
> > ...
> > </mount-table>
> >
> > I needed only to copy the mount-table in the new installation and
> > it works.
> >
> > Now, I have installed a cocoon.war in a tomcat container.
> >
> > I don't find how to specify to this cocoon servlet where to get the
> > cocoon applications?
> > is it a way to mount them into the servlet?
> >
> > Thanks in advance for your help
> >
> >
>
> ( Not sure I understand exactly what you want but: )
>
> In 2.1.*, the default build looked for a mount-table in ../../mount-
> table.xml
>
> <map:match pattern="../../mount-table.xml" type="mount-table">
> <map:mount src="{src}" uri-prefix="{uri-prefix}"/>
> </map:match>
>
>
> For both tomcat and jetty, that put it in the server containers
> directory.
>
> This is very handy: you're able to replace versions of cocoon, or
> even run several
> different cocoon versions or builds along side each other, and they
> all reach up to
> the same mount-table to run the same user application. I haven't
> tried it with 2.2
> yet, but since it worked with earlier versions, I hope I will be able
> to install it as
> webapps/cocoon2.2 and be able to test my app under 2.2 along side the
> earlier version
> of cocoon.
>
> -- Steve Majewski / UVA Alderman Library
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
--
--
Jean-Claude Moissinac
Signal and Image processing - Multimedia Group
TELECOM ParisTech
FRANCE
E-mail: moissinac@enst.fr
Tel: (+33) 1.45.81.80.88
Fax: (+33) 1.45.81.71.58
http://videotoile.blogspot.com
http://svgmpeg4.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: Applications ouside the cocoon tree
Posted by "Steven D. Majewski" <sd...@virginia.edu>.
On Feb 6, 2008, at 3:17 PM, Jean-Claude Moissinac wrote:
> Until I was using some cocoon applications directly in a standalone
> cocoon.
> To be able to easily manage several versions of cocoon, I was using a
> mount-table.xml in
> the main directory of each new version of a Cocoon installation;
> something like
>
> <mount-table>
> <mount uri-prefix="CocoonGallery/"
> src="file://C:/Documents/Dvpt/Eclipse/workspaceCocoonComplet/
> CocoonSites/CocoonGallery/"/>
> <mount uri-prefix="paam/"
> src="file://C:/Documents/Dvpt/Eclipse/workspaceCocoonComplet/
> CocoonSites/paam/"/>
> ...
> </mount-table>
>
> I needed only to copy the mount-table in the new installation and
> it works.
>
> Now, I have installed a cocoon.war in a tomcat container.
>
> I don't find how to specify to this cocoon servlet where to get the
> cocoon applications?
> is it a way to mount them into the servlet?
>
> Thanks in advance for your help
>
>
( Not sure I understand exactly what you want but: )
In 2.1.*, the default build looked for a mount-table in ../../mount-
table.xml
<map:match pattern="../../mount-table.xml" type="mount-table">
<map:mount src="{src}" uri-prefix="{uri-prefix}"/>
</map:match>
For both tomcat and jetty, that put it in the server containers
directory.
This is very handy: you're able to replace versions of cocoon, or
even run several
different cocoon versions or builds along side each other, and they
all reach up to
the same mount-table to run the same user application. I haven't
tried it with 2.2
yet, but since it worked with earlier versions, I hope I will be able
to install it as
webapps/cocoon2.2 and be able to test my app under 2.2 along side the
earlier version
of cocoon.
-- Steve Majewski / UVA Alderman Library
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org