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

Parameter staticContextDocbase cant be used

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta-1, 2.1
    • Fix Version/s: 3.0
    • Component/s: tomcat6, tomcat7
    • Labels:
      None

      Description

      Attribute staticContextDocbase leads to IllegalArgumentException

      org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo#createStaticContext
      is context created from container and at the and added again to server which leads to java.lang.IllegalArgumentException: addChild: Child name '/' is not unique

        Attachments

        1. AbstractRunMojo.java
          53 kB
          Laurent GARCIA
        2. tomcat7-maven-plugin-2.2.diff
          0.6 kB
          Sylvain Guillopé
        3. tomcat7-maven-plugin-2.2.jar.zip
          106 kB
          Laurent GARCIA

        Issue Links

          Activity

            People

            • Assignee:
              olamy Olivier Lamy
              Reporter:
              michalfranc Michal Franc

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment