Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 92427 invoked from network); 31 Jan 2008 13:43:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Jan 2008 13:43:05 -0000 Received: (qmail 4821 invoked by uid 500); 31 Jan 2008 13:42:55 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 4745 invoked by uid 500); 31 Jan 2008 13:42:55 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 4734 invoked by uid 99); 31 Jan 2008 13:42:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jan 2008 05:42:55 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.128.96.105] (HELO mail.bortnet.com) (209.128.96.105) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jan 2008 13:42:27 +0000 Received: from [192.168.10.129] (adsl-66-51-196-164.dslextreme.com [66.51.196.164]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bortnet.com (Postfix) with ESMTP id 10D5C2F4EB1 for ; Thu, 31 Jan 2008 05:45:57 -0800 (PST) Message-ID: <47A1D04A.3040002@dslextreme.com> Date: Thu, 31 Jan 2008 05:42:34 -0800 From: Ralph Goers Reply-To: rgoers@apache.org User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: [2.2] Weird NPE when concurrency References: <1201780772.8350.9.camel@localhost> In-Reply-To: <1201780772.8350.9.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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: > > > > > value="{request:contextPath}"/> > > > > > value="lm://resolve.structurer.{1}"/> > > > value="lm://hooks-to-html.xsl"/> > > > > > > > salu2 >