Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-473

ability to customize a bit more the classloaders

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.1
    • None
    • None

    Description

      the following system properties are mandatory to configure it (app name can be ommitted if the config is global):
      tomee.classloader.configurer.<app name>.clazz = org.apache.openejb.classloader.DefaultClassLoaderConfigurer
      tomee.classloader.configurer.<app name>.addedFolder = /foo/custom/jars
      tomee.classloader.configurer.<app name>.excludedListFile = /foo/custom/excluded.txt

      • excludedListFile is a list of prefixes excluded (one by line)
      • added folder: add all jar/zip/directory in the folder to the classloader
      • clazz : implementation of ClassLoaderConfigurer (need to be in the container since the classloader of the app is not created when called)

      the .clazz value can be a list of prefixes (foo.bar,dummy) which will be used to get other configurer definition (needs foo.bar.clazz, foo.bar.addedFolder....)

      Attachments

        Activity

          People

            Unassigned Unassigned
            romain.manni-bucau Romain Manni-Bucau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: