i use this library in my code.
i try to put the lib (with the tomee plugin) but it doesn't work

<plugin>
                <groupId>org.apache.openejb.maven</groupId>
                <artifactId>tomee-maven-plugin</artifactId>
                <version>1.6.0</version>
                <configuration>
                    <context>wp</context>
                    <classifier>plus</classifier>
                    <libs>
                        <lib>com.sun.mail:javax.mail:1.5.1</lib>
                    </libs>
                </configuration>
            </plugin>




2014-09-03 13:32 GMT+02:00 Romain Manni-Bucau [via TomEE & OpenEJB] <
[email protected]>:

> 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 <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=4671554&i=0>>:
>
> > 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.
>
>
> ------------------------------
>  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-tp4671551p4671554.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




--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/choose-implementation-of-javax-mail-tp4671551p4671557.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to