cause javamail (and jsf api as well for instance) contains implementation (yes api contains impl!) so we can't inore it blindly (what we do for pure api)
Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-22 16:49 GMT+01:00 herau <[email protected]>: > In fact, the issue is that my webapps contains an implementation of > javax.mail and tomee too (with geronimo). > > If i remove my lib from my webapps it's works. > > So my question is why Javax.mail isn't ignored by the tomEE classloader ? > > For example, in my webapp, i have a jar 'validation-api-1.0.0.GA.jar', and > when i launch tomEE, i have this kind of log : > WARNING: jar '/WEB-INF/lib/validation-api-1.0.0.GA.jar' contains offending > class: javax.validation.Validation. It will be ignored. > > why this principle isn't apply to javax.mail ? > Can i configure tomEE to ignore this library ? > > Thanks for your help > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/Override-default-Java-mail-implementation-tp4673357p4673481.html > Sent from the TomEE Users mailing list archive at Nabble.com.
