Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 3905 invoked from network); 10 Oct 2007 14:11:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Oct 2007 14:11:01 -0000 Received: (qmail 76502 invoked by uid 500); 10 Oct 2007 14:10:25 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 76458 invoked by uid 500); 10 Oct 2007 14:10:25 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 76438 invoked by uid 99); 10 Oct 2007 14:10:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2007 07:10:25 -0700 X-ASF-Spam-Status: No, hits=2.7 required=10.0 tests=SPF_NEUTRAL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [88.198.46.98] (HELO indoqa.com) (88.198.46.98) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2007 14:10:21 +0000 Received: from [90.152.141.14] (mk090152141014.a1.net [90.152.141.14]) by indoqa.com (Postfix) with ESMTP id A237E254320 for ; Wed, 10 Oct 2007 16:23:49 +0200 (CEST) Message-ID: <470CDD2F.4070201@apache.org> Date: Wed, 10 Oct 2007 16:09:51 +0200 From: Reinhard Poetz User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: users@cocoon.apache.org Subject: [c22] Mounting a block at root "/" References: <470CC88D.8080001@uninett.no> <470CD22A.2080900@apache.org> In-Reply-To: <470CD22A.2080900@apache.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Reinhard Poetz wrote: > Hanne Moa wrote: >> Per today, the tutorial at http://cocoon.apache.org/2.2/1159_1_1.html >> (http://cocoon.zones.apache.org/daisy/cdocs/g2/g2/g1/1159.html in Daisy) >> is rather deeply flawed. >> >> Following the recipe by the letter, running "mvn jetty:run" at the end, >> leads to jetty running but showing an empty page and an exception >> complaining that there is no block for '/', or to be exact: >> >> javax.servlet.ServletException: No block for / >> ...snip... >> javax.servlet.ServletException: No block for /favicon.ico >> ...snip... >> >> So... either some steps are missing from the tutorial, the steps have >> changed, or there are errors in the versions that maven fetches. >> >> Tell me what to do and I'll see if I can update the tutorial. > > What was the URL that you tried: http://localhost:8888/ or > http://localhost:8888/myBlock1/? Only the latter one will work because > by default the Maven plugin mounts a block using its name. see http://cocoon.apache.org/2.2/1362_1_1.html, the last paragraph. -- Reinhard Pötz Managing Director, {Indoqa} GmbH http://www.indoqa.com/en/people/reinhard.poetz/ Member of the Apache Software Foundation Apache Cocoon Committer, PMC member, PMC Chair reinhard@apache.org _________________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org