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.

Reply via email to