Uploaded image for project: 'Apache Tomcat Maven Plugin'
  1. Apache Tomcat Maven Plugin
  2. MTOMCAT-225

Documented deployment url returns 403 error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0, 2.1
    • 2.1
    • tomcat7
    • Ubuntu 12.04, Linux 3.5.0-26-generic, AMD64, Apache Tomcat/7.0.30, JVM 1.7.0_21-b02

    Description

      Following the documentation for deployment does not work and is consternating.

      According to the docs, the default values of "http://localhost:8080/manager/html" should be used with tomcat7:deploy and tomcat7:deploy-only. However, this will consistently return 403.

      Using http://localhost:8080/manager/text however works fine. Testing with /jmxproxy, /status, and /html do not however succeed, even if all manager permissions are given to the credentialed user.

      Please update the docs and the defaults so that deployment works as expected out of the box.

      For more details and reproducible examples, see the SO thread:
      http://stackoverflow.com/questions/9940701/maven-tomcat7deploy-fails-with-access-denied

      Attachments

        Activity

          People

            olamy Olivier Lamy
            josephlust Joseph Lust
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: