tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pid *" <...@pidster.com>
Subject Re: need help debugging why a simple app install fails
Date Sun, 19 Aug 2012 19:26:36 GMT
On 9 Aug 2012, at 13:56, my koseli <mykoseli@gmail.com> wrote:

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


What do the Tomcat logs say about the error?


p

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message