DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43013>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43013

           Summary: No mention of limitation regarding deployment with
                    multi-level context paths (e.g. /123/456)
           Product: Tomcat 5
           Version: 5.5.23
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Webapps:Manager
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If I understand correctly, the manager app doesn't support deployment with
multi-level context paths e.g. path="/123/456".

I couldn't see any mention of this limitation in the docs. Would be useful if it
was mentioned there.

Also, if trying to do this, the deployment fails but with no explanation. It
should be simple to add a test for multi-level paths and exit with an
appropriate error message, e.g.

Inserting after this block from org.apache.catalina.manager.ManagerServlet

        // Validate the requested context path
        if ((path == null) || path.length() == 0 || !path.startsWith("/")) {
            writer.println(sm.getString("managerServlet.invalidPath", path));
            return;
        }

the following code at line 588:

        if (path.lastIndexOf("/") > 0) {
            writer.println(sm.getString("managerServlet.unsupportedPath", 
path));
            return;
        }

Adding appropriate messages to properties files of course.


It would be even better if the manager could deploy apps using such a context
path but that would be an enhancement so I'll request that separately.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to