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.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0-beta-1
    • 2.0
    • tomcat6, tomcat7
    • 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

            olamy Olivier Lamy
            bravesirrobin81 Leigh Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: