cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject [c2] bug in component selector?
Date Thu, 03 May 2001 19:29:37 GMT
heya. after leaving my development site overnight, i come in to get this
error when i hit any of the urls:

org.apache.cocoon.ProcessingException: Failed to execute
pipeline.:org.apache.cocoon.ProcessingException: ContentAggregator: cannot
process event pipeline for URI
plain/meta:org.apache.cocoon.ProcessingException: Failed to execute
pipeline.:org.apache.cocoon.ResourceNotFoundException: You cannot select a
Component from a disposed
ComponentSelector:java.lang.IllegalStateException: You cannot select a
Component from a disposed ComponentSelector
       at
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:213)
        at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:307)
        at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:874)

the main pipeline rules are:

   <map:match pattern="*">
    <map:aggregate element="root">
     <map:part src="plain/meta"/>
     <map:part src="plain/{1}"/>
    </map:aggregate>
    <map:transform type="xinclude"/>
    <map:act type="resource-exists">
     <parameter name="url" value="context://style/{1}.xsl"/>
     <map:transform src="style/{../1}.xsl"/>
    </map:act>
    <map:select>
     <map:when test="wap">
      <map:transform src="style/wziml-wml.xsl"/>
      <mal:serialize type="wap"/>
     </map:when>
     <map:otherwise>
      <map:transform src="style/wziml-html.xsl"/>
      <map:serialize type="html"/>
     </map:otherwise>
    </map:select>
   </map:match>

   <map:match pattern="plain/*">
    <map:generate src="content/{1}.xml" type="serverpages"/>
   </map:match>

using the caching pipeline components and the null sax connector.
restarting catalina fixed the problem, of course.

- donald


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message