Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 47973 invoked from network); 14 Dec 2009 05:58:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Dec 2009 05:58:49 -0000 Received: (qmail 17915 invoked by uid 500); 14 Dec 2009 05:58:47 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 17781 invoked by uid 500); 14 Dec 2009 05:58:45 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 17764 invoked by uid 99); 14 Dec 2009 05:58:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Dec 2009 05:58:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of james.dekker@gmail.com designates 209.85.220.225 as permitted sender) Received: from [209.85.220.225] (HELO mail-fx0-f225.google.com) (209.85.220.225) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Dec 2009 05:58:37 +0000 Received: by fxm25 with SMTP id 25so2820641fxm.6 for ; Sun, 13 Dec 2009 21:58:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=Ct1seQ6P+FK/wwqa96j90iHdRyMRsxddCJOeF/oGF34=; b=CAfgd5qt0h8afLglf0PupWsyVLmjfpxTh6cWjrHulakVu0Vnh1Dk2S8kjaNxammx9H UMHZWY3AXYjldvhB65hm2g+5xAG2SYjv+GyqG9u2on73UT3oMRvlYgoAXoMQn9b4AoSj S+J+tGvzw2qxYY70rRDqmwMaujy5Fw22zcKUk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=EXFjQLMG3FUA/UNWz7BcJAGlsLeGGiqfp95yDmnNZJrRwOhQQJQC/d3+vvFmvsUJPB JWHZWXR86oDQDuk0QagxAxQWmuBokxKrcAhgBCC+WBR4GPkpE1n0QH6X8D8K7PWXuwNe a82am2zRMk0necFLqLaHjZNvC0UzzS97aVC8o= MIME-Version: 1.0 Received: by 10.239.139.80 with SMTP id s16mr462393hbs.111.1260770297092; Sun, 13 Dec 2009 21:58:17 -0800 (PST) Date: Sun, 13 Dec 2009 21:58:17 -0800 Message-ID: Subject: Problem with Undeploy Task in Tomcat 6 From: James Dekker To: user@ant.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hello there, I am using Tomcat 6, Apache Ant 1.7.1 and JDK 1.6 on OS X Snow Leopard... Am able to deploy my war into tomcat (via my Ant build script's deploy target), but not with my undeploy target. Excerpts from build.xml: When I run the deploy target, everything works (it places myproject.war) underneath $CATALINA_HOME/webapps... However, when I run the undeploy target, I get the following error message: Buildfile: /Users/myuser/work/myproject/build.xml Trying to override old definition of datatype resources clean: [delete] Deleting directory /Users/myuser/work/myproject/build undeploy: BUILD FAILED /Users/myuser/work/myproject/build.xml:83: java.io.IOException: Server returned HTTP response code: 403 for URL: http://localhost:8080/manager/undeploy?path=/myproject Total time: 170 milliseconds For a full description (containing the build.xml, admin.properties, build.properties, tomcatTasks.properties, and tomcat-users.xml code listings), please see this (I posted this to an online forum): http://tinyurl.com/tomcat-undeploy-problem Would really appreciate it if someone could help me. Happy programming, James --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org