tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: TomEE classloader configuration
Date Wed, 11 Jul 2012 16:06:00 GMT
Note: if you start with the webapp already unpacked you can "hack" the
container pointing to WEB-INF/lib jars in conf/catalina.properties
common.loader property...a bit dirty but should work

- Romain


2012/7/11 Jean-Louis MONTEIRO <jeanouii@gmail.com>

> IMO, that's the default tomcat behavior and what the spec requires.
> Isn't it?
>
> ie. in webapp, you have parent last whereas in a common classloader in
> Java, you have parent first
>
> Jean-Louis
>
> 2012/7/11 Anton Arhipov <ant.arhipov@gmail.com>
>
> > Hello!
> >
> > I'd like to know if it is possible to configure TomEE classloader to load
> > application classes first.
> > I.e. if in my application there's lib-1.jar and TomEE bundles lib-2.jar
> > with the same classes, I'd like to load lib-1.jar which is in WEB-INF/lib
> > of my application.
> >
> >
> > Thanks,
> > --
> > Anton Arhipov
> > http://arhipov.blogspot.com
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message