Return-Path: X-Original-To: apmail-cocoon-dev-archive@www.apache.org Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C623E115B4 for ; Tue, 2 Sep 2014 08:02:59 +0000 (UTC) Received: (qmail 65187 invoked by uid 500); 2 Sep 2014 08:02:59 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 65113 invoked by uid 500); 2 Sep 2014 08:02:59 -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 65102 invoked by uid 99); 2 Sep 2014 08:02:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2014 08:02:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [66.111.4.25] (HELO out1-smtp.messagingengine.com) (66.111.4.25) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2014 08:02:55 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by gateway2.nyi.internal (Postfix) with ESMTP id C17E920842 for ; Tue, 2 Sep 2014 04:02:34 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Tue, 02 Sep 2014 04:02:34 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:subject:message-id :references:mime-version:content-type:content-transfer-encoding :in-reply-to; s=smtpout; bh=yhqB1rRgJhyhRDj1fQApuswU0TI=; b=c69Z eNjGn6CCyQ9tvDZ+y6iXjSzeqWvGE7UAbewZndCvD3NuODUfPyMqbbAiMMQagm/J bM4fEDNmQDcIuWQ89+wRUMX6g5YeFJLSpr2sE43va2wi2UFPPONZm7CMiRj9qyOc LkRTC4SMV0QfBVzaqI+65N5W3ZCgZaaTHjFVFZM= X-Sasl-enc: Jq9RrtmucdbuuG+LITudeKq0a7nRcwL2YB4kLlrIRxab 1409644953 Received: from localhost (unknown [123.51.55.248]) by mail.messagingengine.com (Postfix) with ESMTPA id E06A5C0091B for ; Tue, 2 Sep 2014 04:02:33 -0400 (EDT) Date: Tue, 2 Sep 2014 18:02:31 +1000 From: David Crossley To: dev@cocoon.apache.org Subject: Re: sitemap trouble when deploy cocoon-2.1 war in tomcat Message-ID: <20140902080231.GB57844@igmm.local> References: <20140902075319.GA57844@igmm.local> <54057817.4060404@apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <54057817.4060404@apache.org> User-Agent: Mutt/1.4.2.3i X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Sep 02, 2014 at 09:56:07AM +0200, Francesco Chicchiricc� wrote: > On 02/09/2014 09:53, David Crossley wrote: > >I am having difficulty deploying a cocoon.war to a local Tomcat (using > >recent v7.0.55). > > > >To start with, see the Cocoon jail demo: > > > >http://cocoon.zones.apache.org/cocoon21/samples/ > >and notice how the trailing slash just works okay > >as it should according to the sitemap.xmap > > > >Now when i build Cocoon 2.1.13-dev (head of svn branch) locally, > >and then do: > >]$ ./cocoon.sh > >http://localhost:8888/samples/ > >all is okay using the built-in Jetty. > > > >Now do: > >]$ ./build.sh war > >then copy to the Tomcat webapps directory. > >http://localhost:8080/cocoon/samples/ > >and get error: > >org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: > >samples/index.html > > > >Looking at the docs for the cocoon.zones.apache.org at > >http://wiki.apache.org/cocoon/JailManagement > >https://svn.apache.org/repos/private/pmc/cocoon/cocoon.zones.apache.org/ > >i do not see any special configuration for Tomcat. > > > >So can anyone explain the difference. > > > >Also does anyone know how that redirect to "index.html" is happening. > > > >I do vaguely recall these problems in the past. > > Hi David, > can [1] be of any help? > > [1] http://blog.tirasa.net/apache-fun-cocoon-2-1.html You are a champ. Yes it does. Remove the "welcome-file-list" from $CATALINA_HOME/conf/web.xml What a team. I have been struggling all afternoon, then an answer in minutes. Thanks. -David > -- > Francesco Chicchiricc� > > Tirasa - Open Source Excellence > http://www.tirasa.net/ > > Involved at The Apache Software Foundation: > member, Syncope PMC chair, Cocoon PMC, Olingo PMC > http://people.apache.org/~ilgrosso/ >