tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50706] New: ant-task undeploy uses GET while ManagerServlet requires POST in undeploy
Date Wed, 02 Feb 2011 12:39:05 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50706

           Summary: ant-task undeploy uses GET while ManagerServlet
                    requires POST in undeploy
           Product: Tomcat 7
           Version: 7.0.6
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Manager
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: mh@notano.de


ant-task "undeploy" fails:

Error message from "ant undeploy" (using working build.xml &
deployer.properties input-files):

FAIL - Tried to use command /undeploy via a GET request but POST is required
(as templated in file  java/org/apache/catalina/manager/LocalStrings.properties
line 94)


class UndeployTask uses AbstractCatalinaTask.execute(String)
(see line 79 of file java/org/apache/catalina/ant/UndeployTask.java)

class AbstractCatalinaTask.execute(String) uses http-method GET if InputStream
is null (see line 196 of file
java/org/apache/catalina/ant/AbstractCatalinaTask.java)



Just Info: 

"ant deploy" for an already deployed web-application undeploys and deploys the
web-application without errors.

requesting undeploy via a webbrowser works without errors.

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message