It's not possible to configure TomEE to be able to skip The geronimo-javaxmail jar present in the TomEE lib directory ? Le 3 sept. 2014 19:25, "Romain Manni-Bucau [via TomEE & OpenEJB]" < [email protected]> a écrit :
> if you only use it from your app and tomee doesnt see it at all yes > > > 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 19:20 GMT+02:00 herau <[hidden email] > <http://user/SendEmail.jtp?type=node&node=4671569&i=0>>: > > > The lib is in my war file. If i include The Geronimo-spec dependency in > my > > pom and i physicaly remove geronimo-javaxmail.jar from the lib > directory, > > it could be works like with the configured maven plugin ? > > Le 3 sept. 2014 19:10, "Romain Manni-Bucau [via TomEE & OpenEJB]" < > > [hidden email] <http://user/SendEmail.jtp?type=node&node=4671569&i=1>> > a écrit : > > > >> I think if you put your mail.jar in /opt/mylibs/ then putting in > >> catalina.properties /opt/mylibs/*.jar in common.loader before other > >> paths would work > >> > >> > >> 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 18:19 GMT+02:00 herau <[hidden email] > >> <http://user/SendEmail.jtp?type=node&node=4671567&i=0>>: > >> > >> > it works thanks ! > >> > > >> > but what is the equivalent of > >> > > >> > <lib>remove:geronimo-javamail</lib> > >> > > >> > in the TomEE configuration (if i launch TomEE without the maven > plugin)? > >> > > >> > > >> > 2014-09-03 17:51 GMT+02:00 Aurélien Leboulanger < > >> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4671567&i=1>>: > > >> > > >> >> ok i will try it. > >> >> and what about production configuration ? > >> >> i have to delete the geronimo-javamail jar in the lib directory of > >> tomEE ? > >> >> or is it possible to do it with configuration > >> >> > >> >> > >> >> 2014-09-03 17:38 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] > < > >> >> [hidden email] <http://user/SendEmail.jtp?type=node&node=4671567&i=2>>: > > >> > >> >> > >> >> add in <libs>: > >> >>> > >> >>> <lib>remove:geronimo-javamail</lib> > >> >>> <lib>org.apache.geronimo.specs:geronimo-osgi-locator:1.1</lib> > >> >>> > >> >>> > >> >>> 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 16:18 GMT+02:00 herau <[hidden email] > >> >>> <http://user/SendEmail.jtp?type=node&node=4671564&i=0>>: > >> >>> > >> >>> > in fact, my problem is when i launch my application with tomcat, > and > >> so > >> >>> with > >> >>> > com.sun.mail:javax.mail my code which send a mail works. > >> >>> > But when i run the same code on tomEE (with geronimo-javamail), i > >> have > >> >>> > receive a blank mail. > >> >>> > > >> >>> > code link <https://gist.github.com/herau/2449d246c8d6dd9e0df0> > >> >>> > > >> >>> > > >> >>> > > >> >>> > > >> >>> > > >> >>> > -- > >> >>> > View this message in context: > >> >>> > >> > http://tomee-openejb.979440.n4.nabble.com/choose-implementation-of-javax-mail-tp4671551p4671559.html > >> >>> > >> >>> > Sent from the TomEE Users mailing list archive at Nabble.com. > >> >>> > >> >>> > >> >>> ------------------------------ > >> >>> If you reply to this email, your message will be added to the > >> >>> discussion below: > >> >>> > >> >>> > >> > http://tomee-openejb.979440.n4.nabble.com/choose-implementation-of-javax-mail-tp4671551p4671564.html > >> >>> To unsubscribe from choose implementation of javax.mail, click > here > >> >>> < > >> >>> . > >> >>> NAML > >> >>> < > >> > http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > >> > >> >>> > >> >> > >> >> > >> >> > >> >> -- > >> >> Aurélien Leboulanger > >> >> Tel : 0687754487 > >> >> > >> > > >> > > >> > > >> > -- > >> > Aurélien Leboulanger > >> > Tel : 0687754487 > >> > > >> > > >> > > >> > > >> > -- > >> > View this message in context: > >> > http://tomee-openejb.979440.n4.nabble.com/choose-implementation-of-javax-mail-tp4671551p4671566.html > >> > Sent from the TomEE Users mailing list archive at Nabble.com. > >> > >> > >> ------------------------------ > >> If you reply to this email, your message will be added to the > discussion > >> below: > >> > >> > http://tomee-openejb.979440.n4.nabble.com/choose-implementation-of-javax-mail-tp4671551p4671567.html > >> To unsubscribe from choose implementation of javax.mail, click here > >> < > >> . > >> NAML > >> < > http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > >> > > > > > > > > > > -- > > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/choose-implementation-of-javax-mail-tp4671551p4671568.html > > Sent from the TomEE Users mailing list archive at Nabble.com. > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://tomee-openejb.979440.n4.nabble.com/choose-implementation-of-javax-mail-tp4671551p4671569.html > To unsubscribe from choose implementation of javax.mail, click here > <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4671551&code=bGVib3VsYW5nZXIuYXVyZWxpZW5AZ21haWwuY29tfDQ2NzE1NTF8LTgzNDU4MTk5MA==> > . > NAML > <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/choose-implementation-of-javax-mail-tp4671551p4671571.html Sent from the TomEE Users mailing list archive at Nabble.com.
