https://issues.apache.org/bugzilla/show_bug.cgi?id=51727

             Bug #: 51727
           Summary: Manager deploy cannot be invoked without path
                    parameter
           Product: Tomcat 6
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: jer...@netmesh.us
    Classification: Unclassified


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.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to