It turns out that the "endorsed" feature still works in 7.x if you explicitly add -Djava.endorsed.dirs=... to $CATALINA_OPTS. But when I tried the same thing in Java 9-ea, it complained and aborted.
-- Bjorn Danielsson Cuspy Code AB Romain Manni-Bucau <[email protected]> wrote: > (and geronimo-osgi-locator on 7.x) > > > Romain Manni-Bucau > @rmannibucau <https://twitter.com/rmannibucau> | Blog > <https://blog-rmannibucau.rhcloud.com> | Old Blog > <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory > <https://javaeefactory-rmannibucau.rhcloud.com> > > 2017-03-17 18:56 GMT+01:00 Bjorn Danielsson < > [email protected]>: > >> Have you tried using the com.sun.mail implementation instead? >> >> In my experience it's more robust than geronimo mail. For TomEE 1.7.x >> you just add the mail.jar and activation.jar files to tomee/endorsed, >> and then your application will be using them instead of geronimo mail. >> >> Note: For TomEE 7.0.x this workaround doesn't seem to work though. >> >> -- >> Bjorn Danielsson >> Cuspy Code AB >> >> >> jyerrami <[email protected]> wrote: >> > Hi,Our application is using TomEE 1.7.X version and java version 1.6.We >> are >> > using java mailing services to send mail. I have looked at all the posts >> > online and configured the properties file . I still get the failure. >> Please >> > help.Note: I have replaced the actual values with XXX for privacy >> > issues.javax.mail.SendFailedException: Send failure >> > (javax.mail.MessagingException: Failure sending HELO command to SMTP >> server) >> > at javax.mail.Transport.send(Transport.java:163) at >> > javax.mail.Transport.send(Transport.java:48)Here is our >> > configuration:starttime = 09:35PMmail.transport.protocol = >> > smtpmail.smtp.starttls.enable = truemail.from.address = >> > [email protected] =xxxx.xxxxxx#password=mail.smtp.host >> = >> > xx.xx.xx.xxconfirmDatabaseMatch = 1storedProcRetryCount = >> 5fetchRowLimit = >> > 250fetchRowLimitReassignment = 250sendStringParametersAsUnicode = >> > truegetNextRecdTimeDelay = 5000refreshQGCache = 1What am I >> missing.Regards, >> > >> > >> > >> > -- >> > View this message in context: http://tomee-openejb.979440. >> n4.nabble.com/Failure-using-javax-mail-services-with-TomEE-tp4681322.html >> > Sent from the TomEE Users mailing list archive at Nabble.com. >>
