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

Reply via email to