You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/01/19 19:42:19 UTC

DO NOT REPLY [Bug 16243] New: - deploy fails because web.xml in manager fails to specify /deploy as a servlet mapping

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16243

deploy fails because web.xml in manager fails to specify /deploy as a servlet mapping

           Summary: deploy fails because web.xml in manager fails to specify
                    /deploy as a servlet mapping
           Product: Tomcat 4
           Version: Unknown
          Platform: Other
               URL: http://localhost:8080/manager/deploy...
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Webapps:Manager
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: hoju@visi.com


Using the Ant manager tasks to do a "deploy" against Tomcat-4.1.19 fails.  The 
reason is a change made in the web.xml where, formerly, the servlet-mapping for 
the Manager servlet was "/*".  In 4.1.19, each URL mapping is specifically 
stated (eg... "/install", "/reload", etc...).  The problem is, someone forgot 
to include "/deploy".  Adding that servlet-mapping and adding the same thing to 
the web-resource-collection solves the problem.

I will attach a working version of the web.xml file.

Hopefully this can be fixed before the next releaase of Tomcat-4.1.x.

Jake

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>