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: Override default Java mail implementation
Date Tue, 13 Jan 2015 19:19:11 GMT
Hi

there is no SPI in javamail so you need to remove geronimo jar or load
it from your webapp (ie no config in tomee.xml)


Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau


2015-01-13 17:19 GMT+01:00 Aurélien Leboulanger
<leboulanger.aurelien@gmail.com>:
> Hello,
>
> I want to use the sun java mail implementation, in version 1.5.x, instead
> of the geronimo implementation (1.4).
>
> i try to use this property in the conf/system.properties :
>
> openejb.classloader.forced-load = javax.mail
>
> but the geronimo implementation is still choose at runtime.
>
> for information, my maven dependency is :
>
> <dependency>
>
>             <groupId>com.sun.mail</groupId>
>
>             <artifactId>javax.mail</artifactId>
>
>              <version>1.5.2</version>
>
>         </dependency>
>
> Thanks in advance for you help,
>
> Best regards.

Mime
View raw message