Women in Technology

Hear us Roar

  Creating a Web Application with Ant and Tomcat 4
Subject:   ant install failed...
Date:   2003-02-26 14:04:10
From:   anonymous2
Wondered what is the problem, the application seems to be built fine.

[echo] Creating AddressBook's war directory ...

[echo] Building AddressBook ...
[javac] Compiling 3 source files to D:\jsp\AddressBook\war\WEB-INF\classes

[echo] Packaging AddressBook's war file ...
[delete] Deleting: D:\jsp\AddressBook\AddressBook.war
[jar] Building jar: D:\jsp\AddressBook\AddressBook.war

[echo] Installing AddressBook ...
[install] FAIL - Encountered exception java.io.IOException: java.lang.reflect.

file:D:/jsp/AddressBook/build.xml:85: FAIL - Encountered exception java.io.IOExc
eption: java.lang.reflect.InvocationTargetException

Total time: 32 seconds

Full Threads Newest First

Showing messages 1 through 2 of 2.

  • ant install failed...
    2003-03-01 11:22:45  ossipetz [View]

    i think its simply that you need to start the tomcat server.

    when deploying the application ant is calling the manager-url to install it.

    no tomcat - no manager url :-)
    or maybe its just some typing mistake in tomcatusername, tomcatpassword in the built.properties?

    • ant install failed...
      2005-11-30 04:51:42  buzzz [View]

      My Tomcat is running. My tomcat username & password are correct... But Still i am getting

      FAIL - Encountered exception java.io.IOException: java.lang.IllegalStateException: Context path /AddressBook is already in use

      Can anyone tell me what exactly the problem is?