Filenot found Exception +deploying webapplication with manager ant ant

View: New views
1 Messages — Rating Filter:   Alert me  

Filenot found Exception +deploying webapplication with manager ant ant

by srinivas2828 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am trying to deploy webapplication using ant with tomcat manager when i ran ant install got the message which says
Message
root@VAIO:/home/miriyala/Desktop/myapp# ant install
Buildfile: build.xml

prepare:

compile:

install:

BUILD FAILED
java.io.FileNotFoundException: http://localhost:8080/manager/deploy?path=%2FHello&war=file%3A%2F%2F%2Fhome%2Fmiriyala%2FDesktop%2Fmyapp%2Fdist
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1311)
        at org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:223)
        at org.apache.catalina.ant.DeployTask.execute(DeployTask.java:201)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.Main.runBuild(Main.java:758)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Total time: 0 seconds
and Here is the build.xml and take a look at once build.xml
CLASSPATH:/opt/apache-tomcat-5.5.27/common/lib/servlet-api.jar

thanks in advace