tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RPI...@shawmut.com
Subject Ant tasks problem
Date Wed, 05 Nov 2003 18:11:48 GMT
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


Mime
View raw message