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 <[email protected]>: > 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.
