Hi!
I would like to start developing web services in Java, therefore I've installed the web services dev pack from Sun. This pack contains a couple of samples and a copy of Tomcat (where the web services can be tested/executed).
I've been trying to get the "gs" (first 'getting started' sample application/webService) to work properly today, but with little success. When I run "ant install" the files compile etc but when ant tries to deploy the gs into a Tomcat context I get an error saying:
file:C:/jwstutorial13/examples/common/targets.xml:15: java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:8080/manager/install?path=%2Fgs&war=file%3A%2Fjwstutorial13%2Fexamples%2Fgs%2Fbuild
I looked in the tutorial and I saw that under "Common Problems" this very problem is discussed. It says I should install a build.properties file containing my Tomcat username/password but I've done this already. I've also double checked that the login details given in the build.properties file match the username/password in the conf/tomcat-users.xml file. Futher, I've double checked the spelling of the filenames and I've setup the environment variables "CATALINA_HOME" etc (also my path contains java, javac, ant, tomcat etc).
So, apparently I'm getting this 401 Forbidden error even though I've setup the account properly. Anyone experienced something similar? Where can I get more information about this, except from the error message itself and the logs? Any hints or comments would be greatly appreciated! Thanks.
Regards, /m
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
