openejb.classloader.forced-skip = javax.mail
Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-22 17:55 GMT+01:00 herau <[email protected]>: > What i want is that my webapp can run on TomEE but also on tomcat, jetty... > > How i can configure TomEE to ignore my javax.mail jar please ? > you can configuring it but that's not the default which was asked by users > > > Romain Manni-Bucau > @rmannibucau > http://www.tomitribe.com > http://rmannibucau.wordpress.com > https://github.com/rmannibucau > > > 2015-01-22 17:24 GMT+01:00 herau <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=4673485&i=0>>: > >> even if i declare the "api" dependency in my webapp ? >> >> <dependency> >> <groupId>javax.mail</groupId> >> <artifactId>javax.mail-api</artifactId> >> <version>1.5.2</version> >> </dependency> >> >> I don't understand why tomEE cannot detect that a "javax.mail" package is > in >> a jar from the webapp and ignore it if it contains this kind of package ? >> because TomEE already contains an implementation of javax.mail >> >> >> >> >> -- >> View this message in context: > http://tomee-openejb.979440.n4.nabble.com/Override-default-Java-mail-implementation-tp4673357p4673484.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/Override-default-Java-mail-implementation-tp4673357p4673485.html > To unsubscribe from Override default Java mail implementation, click here > <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4673357&code=bGVib3VsYW5nZXIuYXVyZWxpZW5AZ21haWwuY29tfDQ2NzMzNTd8LTgzNDU4MTk5MA==> > . > 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/Override-default-Java-mail-implementation-tp4673357p4673486.html > Sent from the TomEE Users mailing list archive at Nabble.com.
