tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From my koseli <mykos...@gmail.com>
Subject need help debugging why a simple app install fails
Date Thu, 09 Aug 2012 12:55:42 GMT
>
> 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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message