cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Petrov <pet...@sigma.ispras.ru>
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"/>
     <map:serialize/>
   </map:match>

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

<page>
<xinclude:include xmlns:xinclude="http://www.w3.org/2001/XInclude"
href="a.xml" parse="xml"/>
</page>

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(CachingEventPipeline.java:189)
        
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 ?

/Alexander


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message