We are trying to use tomcat manager feature. http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html#Deploy%20A%20New% 20Application%20Remotely Deploy A New Application from a Local Path Deploy using a Context configuration ".xml" file Here is an example of deploying an application using a Context configuration ".xml" file and a web application ".war" file located on the server. http://localhost:8080/manager/deploy? config=file:/path/context.xml&war=jar:file:/path/bar.war!/ This feature works in 5.0.28. We are tryng to upgrade to 5.5.17 tomcat We are seeing following error. "Invalid context path was specified" Looks like this is tomcat manager bug. Need help!!
Tomcat 5.5.17 changed code with respect to deploy command. But documentation did not reflect it. Deploy works if the url specified a. With jar prefix removed b. default path added at the end http://localhost:8080/manager/deploy? config=file:/path/context.xml&war=file:/path/bar.war&path=/bar Can you please fix the documentation please? (In reply to comment #0) > We are trying to use tomcat manager feature. > http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html#Deploy%20A%20New% > 20Application%20Remotely > Deploy A New Application from a Local Path > Deploy using a Context configuration ".xml" file > Here is an example of deploying an application using a Context > configuration ".xml" file and a web application ".war" file located on the > server. > http://localhost:8080/manager/deploy? > config=file:/path/context.xml&war=jar:file:/path/bar.war!/ > This feature works in 5.0.28. We are tryng to upgrade to 5.5.17 tomcat > We are seeing following error. "Invalid context path was specified" > Looks like this is tomcat manager bug. > Need help!!
Good catch, thank you for reporting this. I've updated the Manager HowTo document as you suggested. The updated documentation will be available in the next Tomcat 5.5 release.