On Wed, 6 Feb 2002, Sylvain Wallez wrote:

> giacomo wrote:
>
> >On Wed, 30 Jan 2002, Sylvain Wallez wrote:

<snipped/>

> >>
> >>Please report any problem you may have with this new engine.
> >>
> >
> >And here it is :)
> >
> >We usually deploy our apps as sub-sitemaps with the following approach:
> >
> >- install an unpacked cocoon.war into the servlet container
> >  (Catalina in our case)
> >- copy the sitemap.xmap to original.sitemp.xmap
> >- in sitemap.xmap strip out all resources, action-sets and pipelines and
> >  leave a:
> >
> >  <map:pipeline>
> >   <map:match pattern="our-app/**">
> >    <map:mount uri-prefix="our-app"
> >               src="our-app/sitemap.xmap"
> >               check-reload="yes"/>
> >   </map:match>
> >
> >   <map:match pattern="**">
> >    <map:mount uri-prefix=""
> >               src="original.sitemap.xmap"
> >               check-reload="yes"/>
> >   </map:match>
> >
> >   <map:handle-errors>
> >    <map:transform src="stylesheets/system/error2html.xsl"/>
> >    <map:serialize status-code="500"/>
> >   </map:handle-errors>
> >  </map:pipeline>
> >
> >A request to http://localhost:8080/cocoon/welcome work smart with the
> >compiled sitemap but with the TreeProcessor it spews alot of
> >
> >"Problem setting up the connection: org.dbxml.client.xmldb.DatabaseImpl"
> >
> >ProcessingExceptions and finally dies an OutOfMemoryError.
> >
> >Any thoughts?
> >
> >Giacomo
> >
> Hi Giacomo,
>
> Peter Royal found a bug that affects mounts that have a file and not a
> directory in their "src" attribute, just as in your sitemap. I'll fix it

I've seen it after my reply :/

> ASAP so you can try again.

Sure, will do, thanks.

Giacomo

> But I'm really surprised this causes such a
> violent death of the JVM !
>
> Sylvain
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to