Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 20272 invoked from network); 20 Jan 2006 09:43:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jan 2006 09:43:28 -0000 Received: (qmail 43121 invoked by uid 500); 20 Jan 2006 09:43:00 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 43082 invoked by uid 500); 20 Jan 2006 09:43:00 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 43071 invoked by uid 99); 20 Jan 2006 09:43:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jan 2006 01:43:00 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [212.247.154.1] (HELO swip.net) (212.247.154.1) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jan 2006 01:42:59 -0800 X-T2-Posting-ID: sqekuHx5EEXz8PMiWfS+nn/CVSJ13AovswB5l38CkqQ= X-Cloudmark-Score: 0.000000 [] Received: from [83.180.153.81] (HELO [192.168.2.5]) by mailfe01.swip.net (CommuniGate Pro SMTP 5.0.2) with ESMTP id 78190208 for dev@forrest.apache.org; Fri, 20 Jan 2006 10:42:36 +0100 Subject: Re: Dispatcher gives stack overflow From: Thorsten Scherler To: dev@forrest.apache.org In-Reply-To: <43CFEB2A.3020101@apache.org> References: <43CFC862.2080100@apache.org> <1137692319.16606.39.camel@localhost> <43CFEB2A.3020101@apache.org> Content-Type: text/plain; charset=utf-8 Date: Fri, 20 Jan 2006 10:42:33 +0100 Message-Id: <1137750153.8323.13.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N El jue, 19-01-2006 a las 19:40 +0000, Ross Gardler escribi=C3=B3: ... > > Hmm, never saw this in my life. ...but wait do you have a match=3D"*.hm= tl" > > in your plugin? >=20 > No. Only pattern=3D"^(.*?)([^/]*)locations.xml$" >=20 > >>It looks to me like we have a loop between the sitemap and the=20 > >>locationmap.=20 > >=20 > >=20 > > hmm, I do not think so. >=20 > Something is adding all those "-linkmap" sections to the request. And it=20 > sure looks like a loop to me. Maybe, you'll be more convinced if I tell=20 > you that before the one copied above is a whole series that look like=20 > this... >=20 > PARAM: 'hint' VALUE: 'structurer.html.index' >=20 > ... >=20 > LEVEL 2 > PARAM: '2' VALUE: 'linkmap-index' > PARAM: '0' VALUE: 'structurer.html.linkmap-index' > PARAM: '1' VALUE: 'html' > LEVEL 1 is named 'lm' > PARAM: '../hint' VALUE: 'structurer.html.linkmap-index >=20 > ... >=20 > got location: cocoon://prepare.structurer.html.linkmap-index >=20 > ... >=20 > PARAM: 'hint' VALUE: 'structurer.html.linkmap-linkmap-index' >=20 > ... >=20 > got location: cocoon://prepare.structurer.html.linkmap-linkmap-index >=20 > ... >=20 > PARAM: 'hint' VALUE: 'structurer.html.linkmap-linkmap-linkmap-index' >=20 > ... >=20 > got location: cocoon://prepare.structurer.html.linkmap-linkmap-linkmap-in= dex >=20 > ... >=20 > And so on... Hmm, yeah that seems like a loop. I just tried the same think and the same happens to me.=20 Then I looked into site.xml and found: I changed this to=20 ...and voila, it is working. Then I remembered finally that somebody reported stack overflows with the dispatcher and found: http://issues.apache.org/jira/browse/FOR-738 This seems to be the cause of your problems, v2 is again not working with site: in general (I did some tests with the lenya.zones site [based on v2]). Maybe it is because of the indirections of lm and v2, but it seems to be more, once again, the jxpath problem. We need to see what gives v3 with the site:, but if it is fixed there it wont fix in v2, if not we need to dig in again why Davids workaround for site: is not working anymore. HTH salu2 --=20 thorsten "Together we stand, divided we fall!"=20 Hey you (Pink Floyd)