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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to