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

             Bug #: 52231
           Summary: Ant Tasks need to reflect changes in manager commands
           Product: Tomcat Native
           Version: unspecified
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Library
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: logic....@gmail.com
    Classification: Unclassified


I was performing a catalina ant ReloadTask, getting the error
C:\springsource\workspace\Test1\build.xml:121: java.io.FileNotFoundException:
http://localhost:8080/manager/reload?path=%2FTest1

I tried browsing to this URL manually and the following line from the Manager
404 page caught my eye:
    Note that the URL for the text interface has changed from "/manager" to
"/manager/text".

Turns out the source code in src/java/org/apache/catalina/ant/ReloadTask.java
may have it wrong:

execute(createQueryString("/reload").toString());
Should be
execute(createQueryString("/text/reload").toString());

-- 
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