Women in Technology

Hear us Roar



Article:
  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.


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


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


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


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



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


Total time: 32 seconds

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • 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?