Bug 40257 - tomcat 5.0.28 to 5.5.17 upgrade - Tomcat Manager Context Deployment does not work
Summary: tomcat 5.0.28 to 5.5.17 upgrade - Tomcat Manager Context Deployment does not ...
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Webapps:Manager (show other bugs)
Version: 5.5.17
Hardware: Other Linux
: P1 minor (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords: JDK1.5
Depends on:
Blocks:
 
Reported: 2006-08-15 17:53 UTC by Venkatesh Jayaraman
Modified: 2006-12-24 09:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Venkatesh Jayaraman 2006-08-15 17:53:16 UTC
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!!
Comment 1 Venkatesh Jayaraman 2006-08-16 16:10:17 UTC
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!!

Comment 2 Yoav Shapira 2006-12-24 09:05:43 UTC
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.