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.arhi...@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
>

Reply via email to