On Thu, 7 Feb 2002, Sylvain Wallez wrote:

> giacomo wrote:
>
> >On Wed, 6 Feb 2002, Peter Royal wrote:
> >
> >>On Wednesday 06 February 2002 04:35 pm, Sylvain Wallez wrote:
> >>
> >>>> <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>
> >>>>
> >>>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
> >>>ASAP so you can try again. But I'm really surprised this causes such a
> >>>violent death of the JVM !
> >>>
> >>The bug causes the mount to pick up the sitemap.xmap in the root as the
> >>sitemap for the mount, thus you will go into an infinite loop if you request
> >>something that does not match the first match.
> >>
> >
> >This explaines the dozends of dbxml exception and the OutOfMemoryError.
> >Thanks.
> >
> >Giacomo
> >
> Fixed !
>
> Peter, Giacomo, could you please test again ?

I'm running an app we have for internal use. I've changed it right now
to use the TreeProcessor. If you don't hear any complaints it will runn
and nobody found somthing isn't working ;)

Thanks.

Giacomo


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

Reply via email to