Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 95159 invoked from network); 5 Nov 2003 18:12:40 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Nov 2003 18:12:40 -0000 Received: (qmail 35979 invoked by uid 500); 5 Nov 2003 18:12:12 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 35960 invoked by uid 500); 5 Nov 2003 18:12:11 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 35947 invoked from network); 5 Nov 2003 18:12:11 -0000 Received: from unknown (HELO denali.shawmut.com) (64.214.98.5) by daedalus.apache.org with SMTP; 5 Nov 2003 18:12:11 -0000 Received: by denali.shawmut.com with Internet Mail Service (5.5.2653.19) id ; Wed, 5 Nov 2003 13:09:18 -0500 Message-ID: <8BE2F173A6440740934EDD48016EC97302114C@SDC-MAIL1.shawmut.com> From: RPITRE@shawmut.com To: tomcat-user@jakarta.apache.org Subject: Ant tasks problem Date: Wed, 5 Nov 2003 13:11:48 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="utf-8" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello all....I have a problem that i'm not sure how to go about it...... I want to use ant to help with developement and deployment.....I plan to use install and deploy tasks....When i try to use the "install" task...i get an error: BUILD FAILED file:C:/DEV_WORK/russellpitre.com/build.xml:94: FAIL - Encountered exception java.io.IOException: java.lang.IllegalState Exception: Context path is already in use: I want to have my website install with this context "/" but the default /ROOT is already using this context....how can I remove this context? Below are printouts of my ant list and install results........ ========================================================== Ant List: ========================================================= C:\DEV_WORK\russellpitre.com>ant list Buildfile: build.xml list: [echo] Listing Installed and Deployed Web Applications ... [list] OK - Listed applications for virtual host localhost [list] /admin:running:0:../server/webapps/admin [list] /webdav:running:0:C:\Program Files\Apache Group\Tomcat 4.1\webapps\webdav [list] /examples:running:0:examples [list] /tomcat-docs:running:0:C:\Program Files\Apache Group\Tomcat 4.1\webapps\tomcat-docs **[list] /:running:1:C:\Program Files\Apache Group\Tomcat 4.1\webapps\ROOT [list] /manager:running:0:../server/webapps/manager BUILD SUCCESSFUL Total time: 1 second ======================================================== Ant Install error: ======================================================== C:\DEV_WORK\russellpitre.com>ant install Buildfile: build.xml init: prepare: [echo] Creating russellpitre's war directory ... build: [echo] Building russellpitre ... package: [echo] Packaging russellpitre's web archive file ... [jar] Building jar: C:\DEV_WORK\russellpitre.com\russellpitre.war install: [echo] Installing russellpitre ... [install] FAIL - Encountered exception java.io.IOException: java.lang.IllegalStateException: Context path is already in use BUILD FAILED file:C:/DEV_WORK/russellpitre.com/build.xml:94: FAIL - Encountered exception java.io.IOException: java.lang.IllegalState Exception: Context path is already in use Total time: 2 seconds --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org