I am just about to try the first webapp tutorial of Tomcat. My environment is: Win 2k Tomcat 5.0.28 eclipse 3.0 ANT 1.6.2
The catalina-ant.jar is added to the ant path. When running the deploy task i get the following error Buildfile: C:\Documents and Settings\cruediger\Mes documents\Workspace\LocasugeGSM\build.xml prepare: compile: install: BUILD FAILED: C:\Documents and Settings\cruediger\Mes documents\Workspace\LocasugeGSM\build.xml:263: java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:8080/manager/deploy?path=%2FLocasugeGSM&war=file%3A%2F%2FC%3A%2FDocuments+and+Settings%2Fcruediger%2FMes+documents%2FWorkspace%2FLocasugeGSM%2Fdist Total time: 1 second The task in the Build file looks as follows ... <taskdef name="deploy" classname="org.apache.catalina.ant.DeployTask"/> ... <target name="install" depends="compile" description="Install application to servlet container"> <deploy url="${manager.url}" username="${manager.username}" password="${manager.password}" path="${app.path}" localWar="file://C:/Documents and Settings/cruediger/Mes documents/Workspace/LocasugeGSM/dist"/> </target> ... The matching entries in the build.propertie file are: manager.url = http://localhost:8080/manager manager.password = manager.udername = As the provided example build file didn't bother to set password and user, and the documentation hasn4t lost a word about it, i didn't do either. Is this a mistake? I would very much appreciate some help in this matter, as it bothers me for a few days by now. Thanks Christian Ruediger --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]