Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 7284 invoked from network); 3 Apr 2007 18:29:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Apr 2007 18:29:52 -0000 Received: (qmail 91127 invoked by uid 500); 3 Apr 2007 18:29:58 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 90692 invoked by uid 500); 3 Apr 2007 18:29:57 -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 90681 invoked by uid 99); 3 Apr 2007 18:29:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 11:29:57 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ap-cocoon-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2007 11:29:49 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HYnkp-0006lU-Rf for dev@cocoon.apache.org; Tue, 03 Apr 2007 20:29:15 +0200 Received: from dslb-088-073-071-149.pools.arcor-ip.net ([88.73.71.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Apr 2007 20:29:15 +0200 Received: from alexander.klimetschek by dslb-088-073-071-149.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Apr 2007 20:29:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@cocoon.apache.org From: Alexander Klimetschek Subject: Circular deps in servlet connections (was Re: Servlet Services + Shielding) Date: Tue, 03 Apr 2007 20:29:07 +0200 Lines: 16 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dslb-088-073-071-149.pools.arcor-ip.net User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) In-Reply-To: Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Oh, I got it: there was a circular dependency in the servlet connections (A using B, B using A as super). It did work with the old block servlets, but now you get the very unhelpful exception. I don't think we actually need this circular connection in particular. But generally, two solutions are available: Is it possible to allow circular dependencies in the servlet connections? If not, there should be at least some kind of check that prints a better message. Alex -- Alexander Klimetschek http://www.mindquarry.com