Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 38062 invoked from network); 19 Feb 2007 00:03:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Feb 2007 00:03:28 -0000 Received: (qmail 9209 invoked by uid 500); 19 Feb 2007 00:03:34 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 9138 invoked by uid 500); 19 Feb 2007 00:03:34 -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 9125 invoked by uid 99); 19 Feb 2007 00:03:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Feb 2007 16:03:34 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Feb 2007 16:03:25 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A192A7141ED for ; Sun, 18 Feb 2007 16:03:05 -0800 (PST) Message-ID: <25227087.1171843385659.JavaMail.jira@brutus> Date: Sun, 18 Feb 2007 16:03:05 -0800 (PST) From: "Grzegorz Kossakowski (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Commented: (COCOON-2008) servletContext of BlockPathModule persists between seperate requests In-Reply-To: <25330575.1171023066316.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COCOON-2008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474047 ] Grzegorz Kossakowski commented on COCOON-2008: ---------------------------------------------- I've tested your changes with refactored Forms (they use block-path module quite heavily) and everything works fine. Thanks. Close this issue, please. > servletContext of BlockPathModule persists between seperate requests > -------------------------------------------------------------------- > > Key: COCOON-2008 > URL: https://issues.apache.org/jira/browse/COCOON-2008 > Project: Cocoon > Issue Type: Bug > Components: - Blocks Framework > Affects Versions: 2.2-dev (Current SVN) > Reporter: Grzegorz Kossakowski > Fix For: 2.2-dev (Current SVN) > > Attachments: COCOON-2008-prototype-scope.txt, COCOON-2008.txt > > > The same servlet context is being reused between _separate_ requests leading to returning invalid absolute uri's. > It seems that this line: > this.servletContext = CallStackHelper.getBaseServletContext(); > is being called only once, when BlockPathModule is used first time, and then servletContext is never null (holds old value). > I'm not sure, but it seems that life cycle of this class is not set up correctly. Even though I'm going to figure it out, it would be great if someone with better Spring/Cocoon internals knowledge could take a look on this. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.