Apache Tomcat Maven Plugin
  1. Apache Tomcat Maven Plugin
  2. MTOMCAT-61

maven tomcat:run ignores the useSeperateTomcatClassloaded when using serverXml property

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 2.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Mac OS X, JDK 1.6, Maven 2.2.1

      Description

      When configuring the tomcat plugin as follows:

      <configuration>
      <useSeparateTomcatClassLoader>true</useSeparateTomcatClassLoader>
      <serverXml>/src/test/config/server.xml</serverXml>
      </configuration>

      the useSeparateTomcatClassLoader is ignored. In our case this causes classloading issues.

      It could be it is not supported but that is not clear from the documentation. If so I would like to know how I can add server.xml stuff in case of tomcat:run (one this is the single sign on Valve).

        Activity

        Hide
        Olivier Lamy (*$^¨%`£) added a comment -

        any sample project to demonstrate your issue ?

        Show
        Olivier Lamy (*$^¨%`£) added a comment - any sample project to demonstrate your issue ?
        Hide
        Olivier Lamy (*$^¨%`£) added a comment -

        fixed http://svn.apache.org/r1440331
        Please test 2.1-SNAPSHOT

        Show
        Olivier Lamy (*$^¨%`£) added a comment - fixed http://svn.apache.org/r1440331 Please test 2.1-SNAPSHOT
        Hide
        Hudson added a comment -

        Integrated in TomcatMavenPlugin-mvn3.x #227 (See https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/227/)
        MTOMCAT-61 maven tomcat:run ignores the useSeperateTomcatClassloaded when using serverXml property. (Revision 1440331)

        Result = SUCCESS
        olamy : http://svn.apache.org/viewvc/?view=rev&rev=1440331
        Files :

        • /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java
        Show
        Hudson added a comment - Integrated in TomcatMavenPlugin-mvn3.x #227 (See https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/227/ ) MTOMCAT-61 maven tomcat:run ignores the useSeperateTomcatClassloaded when using serverXml property. (Revision 1440331) Result = SUCCESS olamy : http://svn.apache.org/viewvc/?view=rev&rev=1440331 Files : /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java

          People

          • Assignee:
            Olivier Lamy (*$^¨%`£)
            Reporter:
            Lars Vonk
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development