abusing the TomEE classloader: what order are the loaded in?

2015-10-24 Thread Jonathan S. Fisher
Hey guys, I have a library from a 3rd party in my WEB-INF/lib/some.jar. It has a single bug in it. Is it possible to load one of the classes from somewhere else? Another words what I'm asking is, what order does TomEE load classes from the classpath from or is it even guaranteed to be in a certai

Re: abusing the TomEE classloader: what order are the loaded in?

2015-10-25 Thread Romain Manni-Bucau
Think only web-inf/classez is guaranteed to be first but using jaxrs.txt you should have a guaranteed order. Side note: tomcat just added a flag on snapshot to have a sorting, will come in tomee with a next release. Le 25 oct. 2015 02:24, "Jonathan S. Fisher" a écrit : > Hey guys, > > I have a l

Re: abusing the TomEE classloader: what order are the loaded in?

2015-10-25 Thread Lars-Fredrik Smedberg
@Romain where can I read more about jaxrs.txt ? On Oct 25, 2015 09:34, "Romain Manni-Bucau" wrote: > Think only web-inf/classez is guaranteed to be first but using jaxrs.txt > you should have a guaranteed order. > > Side note: tomcat just added a flag on snapshot to have a sorting, will > come in

Re: abusing the TomEE classloader: what order are the loaded in?

2015-10-25 Thread Romain Manni-Bucau
https://issues.apache.org/jira/browse/TOMEE-794 it supports mvn but also file paths or directories (*.jar wildcard) Romain Manni-Bucau @rmannibucau | Blog | Github | LinkedIn