You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Martin Gainty <mg...@hotmail.com> on 2012/08/09 15:22:20 UTC

RE: need help debugging why a simple app install fails

Impossible to help you unless you display your build.xml 
The specific failure happens at
/home/user/springapp2/build.xml:106Reposting to users@ant.apache.org
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.


> Date: Thu, 9 Aug 2012 06:55:42 -0600
> Subject: need help debugging why a simple app install fails
> From: mykoseli@gmail.com
> To: users@tomcat.apache.org
> 
> >
> > Hi,
> 
> I am using tomcat6 in ubuntu Ubuntu 10.04.4 LTS and running into problem
> when installing a very simple app.
> 
> When I do ant build, deploy it seems to work but when I do "ant install -v"
> I get failed to build with output below. I cant find the reason this is
> failing. Is it possible to get some help on debugging this?
> 
> Detected Java version: 1.6 in: /usr/lib/jvm/java-6-openjdk/jre
> >
> > Detected OS: Linux
> > parsing buildfile /home/user/springapp2/build.xml with URI =
> > file:/home/user/springapp2/build.xml
> > Project base dir set to: /home/user/springapp2
> > parsing buildfile
> > jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with
> > URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml
> > from a zip file
> >  [property] Loading /home/user/springapp2/build.properties
> > Build sequence for target(s) `install' is [install]
> > Complete build sequence is [install, reload, start, build, deploy, list,
> > usage, stop, deploywar, ]
> > install:
> >   [install] FAIL - Failed to deploy application at context path /springapp2
> > BUILD FAILED
> > /home/user/springapp2/build.xml:106: FAIL - Failed to deploy application
> > at context path /springapp2
> > at
> > org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:258)
> > at
> > org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:146)
> > at org.apache.catalina.ant.InstallTask.execute(InstallTask.java:114)
> > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:616)
> > at
> > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> > at org.apache.tools.ant.Task.perform(Task.java:348)
> > at org.apache.tools.ant.Target.execute(Target.java:390)
> > at org.apache.tools.ant.Target.performTasks(Target.java:411)
> > at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360)
> > at org.apache.tools.ant.Project.executeTarget(Project.java:1329)
> > at
> > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> > at org.apache.tools.ant.Project.executeTargets(Project.java:1212)
> > at org.apache.tools.ant.Main.runBuild(Main.java:801)
> > at org.apache.tools.ant.Main.startAnt(Main.java:218)
> > at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
> > at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
> > Total time: 0 seconds
> >
> >