Created
December 1, 2020 09:51
-
-
Save rzo1/64c23a1d9be752eadf36cf3e1c719ffa to your computer and use it in GitHub Desktop.
Geronimo Java Mail 1.6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEBUG: loading new provider protocol=smtp, className=org.apache.geronimo.javamail.transport.smtp.SMTPTransport, vendor=Apache Software Foundation, version=1.0 | |
DEBUG: loading new provider protocol=smtps, className=org.apache.geronimo.javamail.transport.smtp.SMTPSTransport, vendor=Apache Software Foundation, version=1.0 | |
DEBUG: loading new provider protocol=nntp-post, className=org.apache.geronimo.javamail.transport.nntp.NNTPTransport, vendor=Apache Software Foundation, version=1.0 | |
DEBUG: loading new provider protocol=nntp-posts, className=org.apache.geronimo.javamail.transport.nntp.NNTPSSLTransport, vendor=Apache Software Foundation, version=1.0 | |
DEBUG: loading new provider protocol=nntp, className=org.apache.geronimo.javamail.store.nntp.NNTPStore, vendor=Apache Software Foundation, version=1.0 | |
DEBUG: loading new provider protocol=nntps, className=org.apache.geronimo.javamail.store.nntp.NNTPSSLStore, vendor=Apache Software Foundation, version=1.0 | |
DEBUG: loading new provider protocol=pop3, className=org.apache.geronimo.javamail.store.pop3.POP3Store, vendor=Apache Software Foundation, version=1.0 | |
DEBUG: loading new provider protocol=pop3s, className=org.apache.geronimo.javamail.store.pop3.POP3SSLStore, vendor=Apache Software Foundation, version=1.0 | |
DEBUG: loading new provider protocol=imap, className=org.apache.geronimo.javamail.store.imap.IMAPStore, vendor=Apache Software Foundation, version=1.0 | |
DEBUG: loading new provider protocol=imaps, className=org.apache.geronimo.javamail.store.imap.IMAPSSLStore, vendor=Apache Software Foundation, version=1.0 | |
DEBUG: loading new provider protocol=imap, className=com.sun.mail.imap.IMAPStore, vendor=Oracle, version=null | |
DEBUG: loading new provider protocol=imaps, className=com.sun.mail.imap.IMAPSSLStore, vendor=Oracle, version=null | |
DEBUG: loading new provider protocol=smtp, className=com.sun.mail.smtp.SMTPTransport, vendor=Oracle, version=null | |
DEBUG: loading new provider protocol=smtps, className=com.sun.mail.smtp.SMTPSSLTransport, vendor=Oracle, version=null | |
DEBUG: loading new provider protocol=pop3, className=com.sun.mail.pop3.POP3Store, vendor=Oracle, version=null | |
DEBUG: loading new provider protocol=pop3s, className=com.sun.mail.pop3.POP3SSLStore, vendor=Oracle, version=null | |
DEBUG: getProvider() returning provider protocol=smtp; type=javax.mail.Provider$Type@1e7f19b4; class=org.apache.geronimo.javamail.transport.smtp.SMTPTransport; vendor=Apache Software Foundation;version=1.0 | |
smtp DEBUG: Failing connection for missing authentication information | |
smtp DEBUG: Attempting plain socket connection to server mail.mail-server.com:587 | |
220 mail.mail-server.com ESMTP Postfix (Ubuntu) | |
EHLO node-147 | |
250-mail.mail-server.com | |
250-PIPELINING | |
250-SIZE 52428800 | |
250-ETRN | |
250-STARTTLS | |
250-ENHANCEDSTATUSCODES | |
250-8BITMIME | |
250-DSN | |
250-SMTPUTF8 | |
250 CHUNKING | |
smtp DEBUG: Processing extension PIPELINING | |
smtp DEBUG: Processing extension SIZE 52428800 | |
smtp DEBUG: Processing extension ETRN | |
smtp DEBUG: Processing extension STARTTLS | |
smtp DEBUG: Processing extension ENHANCEDSTATUSCODES | |
smtp DEBUG: Processing extension 8BITMIME | |
smtp DEBUG: Processing extension DSN | |
smtp DEBUG: Processing extension SMTPUTF8 | |
smtp DEBUG: Processing extension CHUNKING | |
smtp DEBUG: Attempting to negotiate STARTTLS with server mail.mail-server.com | |
STARTTLS | |
220 2.0.0 Ready to start TLS | |
smtp DEBUG: STARTTLS command accepted | |
smtp DEBUG: TLS socket factory from SSLContext | |
smtp DEBUG: Creating layered SSL socket using SSL Context | |
smtp DEBUG: Initiating STARTTLS handshake | |
smtp DEBUG: Received exception -> Failure attempting to convert connection to TLS | |
smtp DEBUG: Exception message -> Received fatal alert: protocol_version | |
javax.net.ssl.SSLHandshakeException: Received fatal alert: protocol_version | |
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131) | |
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117) | |
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:337) | |
at java.base/sun.security.ssl.Alert$AlertConsumer.consume(Alert.java:293) | |
at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:186) | |
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:171) | |
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1408) | |
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1314) | |
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:440) | |
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:411) | |
at org.apache.geronimo.javamail.util.MailConnection.getConnectedTLSSocket(MailConnection.java:600) | |
at org.apache.geronimo.javamail.transport.smtp.SMTPConnection.getConnectedTLSSocket(SMTPConnection.java:857) | |
at org.apache.geronimo.javamail.transport.smtp.SMTPConnection.sendHandshake(SMTPConnection.java:818) | |
at org.apache.geronimo.javamail.transport.smtp.SMTPConnection.protocolConnect(SMTPConnection.java:154) | |
at org.apache.geronimo.javamail.transport.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:165) | |
at javax.mail.Service.connect(Service.java:275) | |
at javax.mail.Service.connect(Service.java:92) | |
at javax.mail.Service.connect(Service.java:77) | |
at javax.mail.Transport.sendInternal(Transport.java:109) | |
at javax.mail.Transport.send(Transport.java:65) | |
at javax.mail.Transport.send(Transport.java:50) | |
at xx.xx.service.mail.EMailServiceImpl.sendMail(EMailServiceImpl.java:221) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.base/java.lang.reflect.Method.invoke(Method.java:566) | |
at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:205) | |
at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:186) | |
at org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:191) | |
at org.apache.openejb.monitoring.StatsInterceptor.invoke(StatsInterceptor.java:102) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.base/java.lang.reflect.Method.invoke(Method.java:566) | |
at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:205) | |
at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:186) | |
at org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:85) | |
at org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:252) | |
at org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:212) | |
at org.apache.openejb.core.ivm.EjbObjectProxyHandler.synchronizedBusinessMethod(EjbObjectProxyHandler.java:265) | |
at org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:260) | |
at org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:89) | |
at org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:349) | |
at com.sun.proxy.$Proxy86.sendMail(Unknown Source) | |
at xx.xx.service.mail.EMailServiceIT.testSendMail(EMailServiceIT.java:57) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.base/java.lang.reflect.Method.invoke(Method.java:566) | |
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) | |
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) | |
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) | |
at xx.xx.test.junit4.framework.ExtendedFrameworkMethod.invokeExplosively(ExtendedFrameworkMethod.java:46) | |
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) | |
at org.apache.openejb.junit.jee.statement.InjectStatement.evaluate(InjectStatement.java:77) | |
at org.apache.openejb.junit.jee.transaction.TransactionRule$2.evaluate(TransactionRule.java:56) | |
at org.apache.openejb.junit.jee.statement.InjectStatement.evaluate(InjectStatement.java:77) | |
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) | |
at xx.xx.test.junit4.handler.FailureExpectedHandler.evaluate(FailureExpectedHandler.java:46) | |
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) | |
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) | |
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) | |
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) | |
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) | |
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) | |
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) | |
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) | |
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) | |
at org.apache.openejb.junit.jee.statement.DecoratingStatement.evaluate(DecoratingStatement.java:32) | |
at org.apache.openejb.junit.jee.statement.DecoratingStatement.evaluate(DecoratingStatement.java:32) | |
at org.apache.openejb.junit.jee.statement.DecoratingStatement.evaluate(DecoratingStatement.java:32) | |
at org.apache.openejb.junit.jee.statement.DecoratingStatement.evaluate(DecoratingStatement.java:32) | |
at org.junit.rules.RunRules.evaluate(RunRules.java:20) | |
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) | |
at org.junit.runners.ParentRunner.run(ParentRunner.java:413) | |
at org.junit.runner.JUnitCore.run(JUnitCore.java:137) | |
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) | |
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33) | |
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:220) | |
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:53) | |
QUIT | |
xx.xx.exception.EMailException: java.net.SocketException: Socket closed | |
at xx.xx.service.mail.EMailServiceImpl.sendMail(EMailServiceImpl.java:228) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.base/java.lang.reflect.Method.invoke(Method.java:566) | |
at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:205) | |
at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:186) | |
at org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:191) | |
at org.apache.openejb.monitoring.StatsInterceptor.invoke(StatsInterceptor.java:102) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.base/java.lang.reflect.Method.invoke(Method.java:566) | |
at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:205) | |
at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:186) | |
at org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:85) | |
at org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:252) | |
at org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:212) | |
at org.apache.openejb.core.ivm.EjbObjectProxyHandler.synchronizedBusinessMethod(EjbObjectProxyHandler.java:265) | |
at org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:260) | |
at org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:89) | |
at org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:349) | |
at com.sun.proxy.$Proxy86.sendMail(Unknown Source) | |
at xx.xx.service.mail.EMailServiceIT.testSendMail(EMailServiceIT.java:57) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.base/java.lang.reflect.Method.invoke(Method.java:566) | |
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) | |
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) | |
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) | |
at xx.xx.test.junit4.framework.ExtendedFrameworkMethod.invokeExplosively(ExtendedFrameworkMethod.java:46) | |
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) | |
at org.apache.openejb.junit.jee.statement.InjectStatement.evaluate(InjectStatement.java:77) | |
at org.apache.openejb.junit.jee.transaction.TransactionRule$2.evaluate(TransactionRule.java:56) | |
at org.apache.openejb.junit.jee.statement.InjectStatement.evaluate(InjectStatement.java:77) | |
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) | |
at xx.xx.test.junit4.handler.FailureExpectedHandler.evaluate(FailureExpectedHandler.java:46) | |
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) | |
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) | |
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) | |
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) | |
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) | |
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) | |
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) | |
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) | |
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) | |
at org.apache.openejb.junit.jee.statement.DecoratingStatement.evaluate(DecoratingStatement.java:32) | |
at org.apache.openejb.junit.jee.statement.DecoratingStatement.evaluate(DecoratingStatement.java:32) | |
at org.apache.openejb.junit.jee.statement.DecoratingStatement.evaluate(DecoratingStatement.java:32) | |
at org.apache.openejb.junit.jee.statement.DecoratingStatement.evaluate(DecoratingStatement.java:32) | |
at org.junit.rules.RunRules.evaluate(RunRules.java:20) | |
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) | |
at org.junit.runners.ParentRunner.run(ParentRunner.java:413) | |
at org.junit.runner.JUnitCore.run(JUnitCore.java:137) | |
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) | |
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33) | |
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:220) | |
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:53) | |
Caused by: javax.mail.MessagingException: java.net.SocketException: Socket closed | |
at org.apache.geronimo.javamail.transport.smtp.SMTPConnection.sendLine(SMTPConnection.java:669) | |
at org.apache.geronimo.javamail.transport.smtp.SMTPConnection.sendCommand(SMTPConnection.java:654) | |
at org.apache.geronimo.javamail.transport.smtp.SMTPConnection.sendQuit(SMTPConnection.java:571) | |
at org.apache.geronimo.javamail.transport.smtp.SMTPConnection.close(SMTPConnection.java:186) | |
at org.apache.geronimo.javamail.transport.smtp.SMTPTransport.close(SMTPTransport.java:503) | |
at javax.mail.Transport.sendInternal(Transport.java:160) | |
at javax.mail.Transport.send(Transport.java:65) | |
at javax.mail.Transport.send(Transport.java:50) | |
at xx.xx.service.mail.EMailServiceImpl.sendMail(EMailServiceImpl.java:221) | |
... 58 more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment