Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 37720 invoked from network); 8 Sep 2004 15:03:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Sep 2004 15:03:52 -0000 Received: (qmail 94365 invoked by uid 500); 8 Sep 2004 15:03:40 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 94228 invoked by uid 500); 8 Sep 2004 15:03:38 -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 Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 94211 invoked by uid 99); 8 Sep 2004 15:03:38 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [165.98.147.95] (HELO ags01.agsoftware.dnsalias.com) (165.98.147.95) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 08 Sep 2004 08:03:37 -0700 Received: from ags01.agsoftware.dnsalias.com (localhost.localdomain [127.0.0.1]) by ags01.agsoftware.dnsalias.com (8.12.11/8.12.10) with ESMTP id i88F3ZPh023202 for ; Wed, 8 Sep 2004 09:03:35 -0600 Received: (from apache@localhost) by ags01.agsoftware.dnsalias.com (8.12.11/8.12.11/Submit) id i88F3Z32023201; Wed, 8 Sep 2004 09:03:35 -0600 X-Authentication-Warning: ags01.agsoftware.dnsalias.com: apache set sender to cchavez@agsoftware.dnsalias.com using -f Received: from 10.0.0.1 (SquirrelMail authenticated user cchavez); by ags01.agsoftware.dnsalias.com with HTTP; Wed, 8 Sep 2004 09:03:35 -0600 (CST) Message-ID: <41661.10.0.0.1.1094655815.squirrel@10.0.0.1> In-Reply-To: <1094569642.8442.57.camel@oimelc.ucc.ie> References: <1094569642.8442.57.camel@oimelc.ucc.ie> Date: Wed, 8 Sep 2004 09:03:35 -0600 (CST) Subject: Re: 2.1.5.1 build oddity, 2.0.4 war fails From: Carlos =?iso-8859-1?Q?Ch=E1vez?= To: users@cocoon.apache.org Reply-To: cchavez@agsoftware.dnsalias.com User-Agent: SquirrelMail/1.4.3a-1 X-Mailer: SquirrelMail/1.4.3a-1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Peter Flynn Escribio :-) > I just installed a fresh tomcat 5.5.0 on Fedora Core 2, > with jdk1.5.0, and that works fine (edited server.xml to > make it the default port 80 server). > > Then I unwrapped Cocoon 2.1.5.1 and typed ./build to get > the default set of targets. I immediately get the error: > > # cd /opt/cocoon/cocoon-2.1.5.1/ > # ./build.sh > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/tools/ant/launch/Launcher Hi peter, I had the same problem and was because Fedora Core 2 had installed another versi�n of Ant, i dont remember which is, i uninstall that version and install Ant 1.6.2. Well i have cocoon-2.1.6-dev, but the error message was the same. you try rpm -q ant to see the Ant installed. I hope help you. Cheers. > > Is something (ant) missing from 2.1.5.1? The docs at > http://cocoon.apache.org/2.1/installing/index.html#Building%2BCocoon > say "The build script overrides the existing ANT_HOME variable." > In fact I do have ant installed, but I deliberately held back from > exporting ANT_HOME as I assumed Cocoon came with its own built-in ant. > > OK, so backpedal...I unwrapped a copy of Cocoon 2.0.4 and copied the > cocoon.war file into the tomcat webapps directory. Tomcat picked it > up and expanded it, apparently correctly, but http://localhost/cocoon > just gives me the error message (yes I *am* using port 80, not 8080): > > HTTP Status 404 - /cocoon > type Status report > message /cocoon > description The requested resource (/cocoon) is not available. > Apache Tomcat/5.5.0 > > What have I done wrong? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > -- Carlos Ch�vez --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org