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

Reply via email to