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

Allow specifying the classloader to use for loading webapps.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta-1
    • Fix Version/s: 2.0
    • Component/s: tomcat6, tomcat7
    • Labels:
      None

      Description

      If one uses a context.xml with a <loader> element to specify the class loader implementation to use with the tomcat7:run goal, this causes Tomcat to override the WebAppLoader carefully created by the plugin, without the
      benefit of a properly configured class path.

      The attached patch adds a <classLoaderClass> property to configure which class loader implementation to use. This is probably of limited utility as most classes will be loaded by the parent classloader anyway.

        Attachments

        1. loader.patch
          1 kB
          Leigh Anderson

          Activity

            People

            • Assignee:
              olamy Olivier Lamy (*$^¨%`£)
              Reporter:
              bravesirrobin81 Leigh Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: