cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Petrov <>
Subject [C2] cache XInclude problem
Date Wed, 15 Aug 2001 16:48:25 GMT
I use Apache Cocoon 2.0b2 on Tomcat 3.2.3, Linux.

sitemap contains:
   <map:match pattern="info">
     <map:generate src="info.xml"/>
     <map:transform type="xinclude"/>
     <map:transform src="info.xsl"/>

info.xml contains:
<?xml version="1.0"?>

<xinclude:include xmlns:xinclude=""
href="a.xml" parse="xml"/>

First time accessed "info" outputs fine results.
Next time, Cocoon2 returns 404 code; cocoon.log contains

org.apache.cocoon.ProcessingException: Failed to execute pipeline.:java.lang.NullPointerException
        at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(
and plenty lines of stack trace.

I don't want to refuse from caching, because result of this xinclude
is going to be compiled as XSP.

what should I do : use map:aggregate instead or fix this somehow ?


Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message