Hello All, I'm using Tomcat 4.1 and trying to deploy/undeploy application using ant targets.
Earlier I posted a mail on deploy task not working due to some protocol error. Got the solution for that :-) But right now undeploy task is not working. It is giving an error saying: FAIL - Cannot remove document base for path /app1 Here is the ant targets I have: <property name="tomcat.server.name" value="127.0.0.1"/> <property name="tomcat.server.port" value="8080"/> <property name="tomcat.user.name" value="admin"/> <property name="tomcat.user.password" value="admin"/> <property name="app.hostname" value="http://${tomcat.server.name}:${tomcat.server.port}"/> <property name="app.deploy.manageurl" value="${app.hostname}/manager"/> <taskdef file="./catalinatasks.properties"> <classpath> <pathelement path="./lib/catalina-ant.jar"/> </classpath> </taskdef> <target name="undeployapp"> <undeploy url="${app.deploy.manageurl}" path="/app1" username="${tomcat.user.name}" password="${tomcat.user.password}" /> </target> I searched the web for solutions to this problem, but unable to find one. Can anybody please help me and say as to what is wrong? Thank you, Venkatesh __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]