tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Labhard <m.labh...@comcast.net>
Subject install task problem
Date Thu, 08 Jul 2004 05:23:09 GMT
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message