tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Ant deploy task failing with listing of html from manager page
Date Sun, 16 Jan 2011 18:44:14 GMT
2011/1/16 Aivar Annamaa <aivar.annamaa@gmail.com>:
> Hi
>
> I'm trying to get started with Tomcat 7.0.6 on Win7. I'm able to deploy
> using WAR upload form in Manager, but deploying using ant (1.8.2) "deploy"
> task fails -- it just lists a bunch of html (without an error message) and
> then says that BUILD FAILED.
>
> I wrote my build.xml according to sample from Tomcat 7.0 documentation (
> http://tomcat.apache.org/tomcat-7.0-doc/appdev/build.xml.txt). Only thing I
> changed was manager.url -- because I suspect that there is a mistake in the
> sample. It says that manager.url should be  "[...]/manager" but with this i
> would get only FileNotFoundException. So I changed it to
> "[...]/manager/html", and got following result:

It should be [...]/manager/text

Note, that your user should have the role of "manager-script" to be
able to access that URL.

Best regards,
Konstantin Kolinko

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


Mime
View raw message