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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development