I cannot figure out how to get the ant install task to work. I have a WAR
file built in the main source directory "./myapp.war". Here is the relevant
part of the build.xml:
<target name="install" description="Install application in Tomcat"
depends="deploywar">
<install url="${tomcat.manager.url}"
username="${tomcat.manager.username}"
password="${tomcat.manager.password}"
path="/websubdir/myapp"
war="jar:file:./myapp.war!/" />
</target>
Error:
java.io.IOException: Server returned HTTP response code: 401 for URL:
http://localhost:8080/manager/install?path=%2Fwebsubdir%2Fmyapp&war=jar%3Afile%3A.
%2Fmyapp.war%21%2F
Nothing else shows up in the logs.
Any advise? Thanks.
-- Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]