ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srinivas2828 <srinivas2...@gmail.com>
Subject Filenot found Exception +deploying webapplication with manager ant ant
Date Sun, 11 Oct 2009 07:56:34 GMT

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 
http://www.nabble.com/file/p25841381/build.xml build.xml 
CLASSPATH:/opt/apache-tomcat-5.5.27/common/lib/servlet-api.jar

thanks in advace
-- 
View this message in context: http://www.nabble.com/Filenot-found-Exception-%2Bdeploying-webapplication-with-manager-ant-ant-tp25841381p25841381.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message