Bug 51727 - Manager deploy cannot be invoked without path parameter
Summary: Manager deploy cannot be invoked without path parameter
Status: RESOLVED DUPLICATE of bug 47467
Alias: None
Product: Tomcat 6
Classification: Unclassified
Component: Documentation (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal (vote)
Target Milestone: default
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-26 18:18 UTC by Johannes Ernst
Modified: 2011-08-29 15:16 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Ernst 2011-08-26 18:18:02 UTC
Section "Deploy using a Context configuration ".xml" file in http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html says this should work:

curl http://localhost:8080/manager/deploy?config=file:/tmp/mycontext.xml --basic -u user:pass

However, it fails with error:

FAIL - Invalid context path null was specified

Instead, path needs to be specified like this:

curl http://localhost:8080/manager/deploy?config=file:/tmp/mycontext.xml\&path=/foo --basic -u user:pass

This bug was filed previously against the manager app (#46115 and #49451) and closed as RESOLVED FIXED, however, the documentation is still inconsistent.
Comment 1 Mark Thomas 2011-08-29 14:21:38 UTC
This is a small subset of bug 47467.

*** This bug has been marked as a duplicate of bug 47467 ***
Comment 2 Johannes Ernst 2011-08-29 14:59:28 UTC
This is not a duplicate because this bug is against the *documentation*, not the code. If you change the code, the documentation wouldn't automatically be fixed would it? ;-)
Comment 3 Mark Thomas 2011-08-29 15:16:48 UTC

*** This bug has been marked as a duplicate of bug 47467 ***