Hi Everyone, Using Tomcat 6.0.20, Ant 1.7.1 and Java 1.6_14. Windows Vista Home premium.
I had ant deploy tasks that worked fine. I removed my Java installation and upgraded to 1.6_16. All of a sudden all my apps (without having changed code, properties, config or anything) could not be deployed anymore, see exception below. I know 401 is authentication, but I didn't change anything and an echo in the ant script just before I deploy confirms I am using the right url and credentials. I rolled back to Java 1.6_14 and still same problem. I can access the url and enter the username & password and its fine, just from the ant task it doesn't work anymore. My guess is some security setting or certificate or something? Anyone that can help please? BUILD FAILED java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:8080/manager/deploy?path=%2Fmpro&update=true at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1313) at org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:223) at org.apache.catalina.ant.DeployTask.execute(DeployTask.java:201) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1189) at org.apache.tools.ant.Main.runBuild(Main.java:758) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org