it forces to load the matching classes (that's a prefix) from the webapp first
you can update the page normally if you want to contribute this doc to the site *Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/5/6 Witold Szczerba <pljosh.m...@gmail.com> > What does it do? It is not present in documentation page: > http://tomee.apache.org/properties-listing.html > > Will check that ASAP. > > Thanks, > Witold Szczerba > > On 6 May 2013 14:03, Romain Manni-Bucau <rmannibu...@gmail.com> wrote: > > Hi > > > > maybe try adding in conf/system.properties: > > > > openejb.classloader.forced-load=org.apache.commons.digester > > > > *Romain Manni-Bucau* > > *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > > *Blog: **http://rmannibucau.wordpress.com/*< > http://rmannibucau.wordpress.com/> > > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > > *Github: https://github.com/rmannibucau* > > > > > > > > 2013/5/6 Witold Szczerba <pljosh.m...@gmail.com> > > > >> Hi, > >> I have problem with TomEE and the extra libraries it adds to tomee/lib > >> folder. > >> > >> I am using JXLS library, it uses commons-digester and few others. The > >> problem is, TomEE also comes with commons-digester. This library has > >> very unfortunate behavior: > >> > >> // Instantiate the new object and push it on the context stack > >> Class<?> clazz = > >> digester.getClassLoader().loadClass(realClassName); > >> Object instance = clazz.newInstance(); > >> digester.push(instance); > >> > >> The problem is the "realClassName" cannot be located, it comes with > >> JXLS, but commons-digester comes from TomEE (the one provided in my > >> webapp is ignored). > >> > >> Following the rules described here: > >> http://tomcat.apache.org/tomcat-7.0-doc/class-loader-howto.html > >> ,the classes in "WebappX" WEB-INF/lib should take precedence of > >> anything else. This is not the case though and my application fails. > >> > >> Is it possible to let my application's class loader works like in > >> Tomcat, this is, use WEB-INF/lib and delegate to tomee/lib in a second > >> step? > >> > >> Thanks, > >> Witold Szczerba > >> >