Hi how do you use it? if that's a server resource - tomee.xml - you can't.
Best way would be to put it in the container to replace geronimo javamail Generally having javax.* in webapp libs is forbidden Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-09-03 12:12 GMT+02:00 herau <[email protected]>: > Hello, > > Currently i have an application which is launched with tomcat 8. > I have a maven dependency for my project : > > <dependency> > <groupId>com.sun.mail</groupId> > <artifactId>javax.mail</artifactId> > <version>1.5.1</version> > </dependency> > > I have try to force the loading of this dependency with a declaration in the > conf/system.properties file > > openejb.classloader.forced-load = javax.mail > > But it seems that it not work. > > Does my declaration is correct ? > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/choose-implementation-of-javax-mail-tp4671551.html > Sent from the TomEE Users mailing list archive at Nabble.com.
