javax.mail.SendFailedException: Send failure (javax.mail.MessagingException: Connection error (java.io.IOException: Error connecting to smtp.gmail.com, 465))

tomee-commits | Tamás Greguss (JIRA) | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [jira] [Updated] (TOMEE-1697) javamail: sending email fails

    tomee-commits | 1 year ago | Tamás Greguss (JIRA)
    javax.mail.SendFailedException: Send failure (javax.mail.MessagingException: Connection error (java.io.IOException: Error connecting to smtp.gmail.com, 465))
  2. 0

    [jira] [Comment Edited] (TOMEE-1697) javamail: sending email fails

    tomee-commits | 1 year ago | Tamás Greguss (JIRA)
    javax.mail.SendFailedException: Send failure (javax.mail.MessagingException: Connection error (java.io.IOException: Error connecting to smtp.gmail.com, 465))
  3. 0

    [jira] [Commented] (TOMEE-1697) javamail: sending email fails

    tomee-commits | 1 year ago | Tamás Greguss (JIRA)
    javax.mail.SendFailedException: Send failure (javax.mail.MessagingException: Connection error (java.io.IOException: Error connecting to smtp.gmail.com, 465))
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [jira] [Comment Edited] (TOMEE-1697) javamail: sending email fails

    tomee-commits | 1 year ago | Tamás Greguss (JIRA)
    javax.mail.SendFailedException: Send failure (javax.mail.MessagingException: Connection error (java.io.IOException: Error connecting to smtp.gmail.com, 465))
  6. 0

    [jira] [Commented] (TOMEE-1697) javamail: sending email fails

    tomee-commits | 1 year ago | Romain Manni-Bucau (JIRA)
    javax.mail.SendFailedException: Send failure (javax.mail.MessagingException: Connection error (java.io.IOException: Error connecting to smtp.gmail.com, 465))
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.InstantiationException

    No message provided

    at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance()
  2. Java RT
    Class.newInstance
    1. sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:48)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
    3. java.lang.Class.newInstance(Class.java:442)
    3 frames
  3. Geronimo JavaMail
    SMTPTransport.protocolConnect
    1. org.apache.geronimo.javamail.util.MailConnection.createSocketFromFactory(MailConnection.java:355)
    2. org.apache.geronimo.javamail.util.MailConnection.createSocket(MailConnection.java:504)
    3. org.apache.geronimo.javamail.util.MailConnection.getConnectedSocket(MailConnection.java:322)
    4. org.apache.geronimo.javamail.util.MailConnection.getConnection(MailConnection.java:274)
    5. org.apache.geronimo.javamail.transport.smtp.SMTPConnection.protocolConnect(SMTPConnection.java:145)
    6. org.apache.geronimo.javamail.transport.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:165)
    6 frames
  4. JavaMail API
    Transport.send
    1. javax.mail.Service.connect(Service.java:274)
    2. javax.mail.Service.connect(Service.java:91)
    3. javax.mail.Service.connect(Service.java:76)
    4. javax.mail.Transport.send(Transport.java:94)
    5. javax.mail.Transport.send(Transport.java:48)
    5 frames
  5. com.gbit.lib
    GBITMail.SendMail
    1. com.gbit.lib.GBITMail.SendWithGMailSSL(GBITMail.java:136)
    2. com.gbit.lib.GBITMail.SendMail(GBITMail.java:103)
    2 frames
  6. com.gbit.efoglalo
    UnitTestMB$$OwbNormalScopeProxy0.testSendingEmailOld
    1. com.gbit.efoglalo.test.UnitTestMB.testSendingEmailOld(UnitTestMB.java:503)
    2. com.gbit.efoglalo.test.UnitTestMB$$OwbNormalScopeProxy0.testSendingEmailOld(com/gbit/efoglalo/test/UnitTestMB.java)
    2 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  8. Pax Jsp
    MethodExpressionImpl.invoke
    1. org.apache.el.parser.AstValue.invoke(AstValue.java:278)
    2. org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:273)
    2 frames
  9. org.apache.myfaces
    ContextAwareTagMethodExpression.invoke
    1. org.apache.myfaces.view.facelets.el.ContextAwareTagMethodExpression.invoke(ContextAwareTagMethodExpression.java:96)
    1 frame
  10. JavaEE 7
    UIViewRoot.processApplication
    1. javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:88)
    2. javax.faces.event.ActionEvent.processListener(ActionEvent.java:51)
    3. javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:420)
    4. javax.faces.component.UICommand.broadcast(UICommand.java:103)
    5. javax.faces.component.UIViewRoot._broadcastAll(UIViewRoot.java:1041)
    6. javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:289)
    7. javax.faces.component.UIViewRoot._process(UIViewRoot.java:1415)
    8. javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:765)
    8 frames
  11. Impl
    LifecycleImpl.execute
    1. org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:38)
    2. org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:170)
    3. org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
    3 frames
  12. JavaEE 7
    FacesServlet.service
    1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
    1 frame
  13. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    2 frames
  14. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    1 frame
  15. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    2 frames
  16. PrettyFaces for JSF 2.0.x
    PrettyFilter.doFilter
    1. com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:145)
    1 frame
  17. Glassfish Core
    ApplicationDispatcher.forward
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
    6 frames
  18. PrettyFaces for JSF 2.0.x
    PrettyFilter.doFilter
    1. com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:137)
    1 frame
  19. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    2 frames
  20. org.omnifaces.filter
    HttpFilter.doFilter
    1. org.omnifaces.filter.CacheControlFilter.doFilter(CacheControlFilter.java:226)
    2. org.omnifaces.filter.HttpFilter.doFilter(HttpFilter.java:108)
    2 frames
  21. Glassfish Core
    StandardContextValve.invoke
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    4 frames
  22. OpenEJB :: TomEE :: Catalina
    OpenEJBValve.invoke
    1. org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
    1 frame
  23. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
    2. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    3. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    4. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
    5. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    6. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
    6 frames
  24. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
    3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
    3 frames
  25. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    2 frames
  26. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    1 frame
  27. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame