Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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....)