cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <Ralph.Go...@dslextreme.com>
Subject Re: [2.2] Weird NPE when concurrency
Date Thu, 31 Jan 2008 13:42:34 GMT
Could you post the stack trace?

Thorsten Scherler wrote:
> Hi all,
>
> we have build a webapp based on cocoon 2.2. Everything is working fine
> if a single person is using the app, but as soon as we have concurrent
> user the code fails with NPE in different lines of the code.
>
> My questions are:
> Every pipeline is thread safe, right?
> The mounts to the different servlet (blocks) is synchronized, right?
> Is there a connection timeout for inner block communications?
>
> The architecture is as follow:
> main webapp - mounts dispatcher sitemap (from block)
>
> Main match:
>  <map:match pattern="**.html">
>         <map:generate src="lm://resolve.structurer.{1}" type="jx">
>           <map:parameter name="lenient-xpath" value="true"/>
>           <map:parameter name="getRequest" value="{1}"/>
>           <map:parameter name="contextPath"
> value="{request:contextPath}"/>
>           <map:parameter name="getRequestExtension" value="html"/>
>         </map:generate>
>         <map:transform type="dispatcher">
>           <map:parameter name="cacheKey" value="{0}"/>
>           <map:parameter name="validityFile"
>             value="lm://resolve.structurer.{1}"/>
>           <map:parameter name="request" value="{1}"/>
>           <map:parameter name="type" value="html"/>
>           <map:parameter name="hooksTransformer"
> value="lm://hooks-to-html.xsl"/>
>         </map:transform>
>         <map:transform src="lm://namespace-stripped"/>
>         <map:transform src="lm://strip-dispatcher-remains-html.xsl"/>
>         <map:serialize type="xhtml"/>
>       </map:match>
>
> salu2
>   

Mime
View raw message