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

Parameter staticContextDocbase cant be used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta-1, 2.1
    • 3.0
    • tomcat6, tomcat7
    • 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. tomcat7-maven-plugin-2.2.jar.zip
          106 kB
          Laurent GARCIA
        2. AbstractRunMojo.java
          53 kB
          Laurent GARCIA
        3. tomcat7-maven-plugin-2.2.diff
          0.6 kB
          Sylvain Guillopé

        Issue Links

          Activity

            People

              olamy Olivier Lamy
              michalfranc Michal Franc
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: