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

        Lars Vonk created issue -
        Olivier Lamy (*$^¨%`£) made changes -
        Field Original Value New Value
        Assignee Olivier Lamy [ olamy ]
        Fix Version/s 2.0 [ 12317943 ]
        Olivier Lamy (*$^¨%`£) made changes -
        Fix Version/s 2.1 [ 12319450 ]
        Fix Version/s 2.0 [ 12317943 ]
        Olivier Lamy (*$^¨%`£) made changes -
        Fix Version/s 2.1 [ 12320767 ]
        Fix Version/s 2.0 [ 12319450 ]
        Olivier Lamy (*$^¨%`£) made changes -
        Fix Version/s moreinfo [ 12319451 ]
        Fix Version/s 2.1 [ 12320767 ]
        Olivier Lamy (*$^¨%`£) made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 2.1 [ 12320767 ]
        Fix Version/s moreinfo [ 12319451 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development