tomcat7 - Ant deploy to tomcat 7 -
i have changed tomcat server version 6 7 , ant deploy fails.
at first had ant build following , got 403 error
<taskdef resource="org/apache/catalina/ant/catalina.tasks" classpathref="x.classpath" /> <target name="tomcatdeploy" depends="tomcatundeploy,war"> <deploy url="http://localhost/manager/html" username="x" password="x" path="/xx" war="file:x.war"/> </target> i found several sources on internet changed manager/html manager/text , added roles manager-script , admin-script in tomcat-user file.
the error getting
java.net.httpretryexception: cannot retry due server authentication, in streaming mode i found may because of size of .war file deploy 250m, didn't find solution how deploy tomcat 7 ant.
i found comprehensive post problem: http://paulgrenyer.blogspot.co.at/2011/11/catalina-ant-for-tomcat-7.html
Comments
Post a Comment