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

maven tomcat:run ignores the useSeperateTomcatClassloaded when using serverXml property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0
    • 2.1
    • None
    • None
    • 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).

      Attachments

        Activity

          People

            olamy Olivier Lamy
            lvonk Lars Vonk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: