cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alec Bickerton <>
Subject Transformer parameters are intermittently not set.
Date Wed, 14 Sep 2011 08:58:53 GMT

I'm seeing some unusual behaviour in Cocoon 2.1.9. It appears that it possible for the xalan
transformer parameters to
not be set in a pipeline. Is this a known issue?

Relevant part of the sitemap.xmap

<map:match pattern="general">
	<map:generate src="cocoon://projects/pe/templatetrafo/generic-common" />
	<!-- No failure of the generator ever detected -->

	<map:transform src="transformer_one.xsl">
		<map:parameter name="hostname" value=""/>
		<map:parameter name="jsessionid" value="{request-param:jsessionid}"/>
		<map:parameter name="bi_show" value="{request-param:bi_show}"/>
		<map:parameter name="basehosttest" value="{request-param:basehosttest}"/>
		<map:parameter name="portalnumber" value="{request-param:portalnumber}"/>

	<map:transform src="transformer_two.xsl">
		<map:parameter name="jsessionid" value="{request-param:jsessionid}"/>
	<map:serialize type="xml"/>

Using the above sitemap 1 in 5 requests fails to set the parameters triggering the pipeline
to fail. I see this by
setting a breakpoint in the extension method called from transformer_one.

The transformer is configure as shown.
    <map:transformer logger="sitemap.transformer.xslt" name="xslt" pool-max="2048" pool-min="32"
src="org.apache.cocoon.transformation.TraxTransformer" >

Has anyone seen this behaviour in the past, or suggest a place to look for a misconfiguration?


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

View raw message