javax.mail.MessagingException: Could not connect to SMTP host: 127.0.0.1, port: 25

cocoon-users-fr | Jean-Philippe Lesire | 1 decade 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

    RE: Envoi de mail dans une application

    cocoon-users-fr | 1 decade ago | Jean-Philippe Lesire
    javax.mail.MessagingException: Could not connect to SMTP host: 127.0.0.1, port: 25
  2. 0

    server-user.james.apache.org - Re: RemoteDelivery Configuration - msg#00003 - Recent Discussion OSDir.com

    osdir.com | 2 years ago
    javax.mail.MessagingException: No mail server(s) available at this time. at org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.java:776) at org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:1139)
  3. 0

    [JAMES-294] Database Pool becomes exhausted after a short time when heavily polled - ASF JIRA

    apache.org | 1 year ago
    javax.mail.MessagingException: Exception while retrieving mail: Cannot get a connection, pool exhausted at org.apache.james.mailrepository.JDBCMailRepository.retrieve(JDBCMailReposito ry.java:905) at org.apache.james.mailrepository.JDBCSpoolRepository.accept(JDBCSpoolReposito ry.java:199) at org.apache.james.mailrepository.JDBCSpoolRepository.accept(JDBCSpoolReposito ry.java:124) at org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:350)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Error deploying Roller on a plesk page

    roller-user | 6 years ago | Marcos Soler
    javax.mail.MessagingException: Unknown SMTP host: smtp-smtp.gmail.com; >> > nested exception is: >> java.net.UnknownHostException: > smtp-smtp.gmail.com >> at > com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1704) >> > at >> > com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:525) >> > at javax.mail.Service.connect(Service.java:291) >> at > javax.mail.Service.connect(Service.java:172) >> at >> > org.apache.roller.weblogger.business.MailProvider.getTransport(MailProvider.java:126) >> > at >> > org.apache.roller.weblogger.business.MailProvider.(MailProvider.java:96) >> > at >> > org.apache.roller.weblogger.business.startup.WebloggerStartup.prepare(WebloggerStartup.java:179) >> > at >> > org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:138) >> > at >> > org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) >> > at >> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) >> > at >> > org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1173) >> > at >> > org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:369) >> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
  6. 0

    Re: Error deploying Roller on a plesk page

    roller-user | 6 years ago | Edd Grant
    javax.mail.MessagingException: Unknown SMTP host: >> smtp-smtp.gmail.com; >>> >> nested exception is: >>> java.net.UnknownHostException: >> smtp-smtp.gmail.com >>> at >> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1704) >>> >> at >>> >> >> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:525) >>> >> at javax.mail.Service.connect(Service.java:291) >>> at >> javax.mail.Service.connect(Service.java:172) >>> at >>> >> >> org.apache.roller.weblogger.business.MailProvider.getTransport(MailProvider.java:126) >>> >> at >>> >> >> org.apache.roller.weblogger.business.MailProvider.(MailProvider.java:96) >>> >> at >>> >> >> org.apache.roller.weblogger.business.startup.WebloggerStartup.prepare(WebloggerStartup.java:179) >>> >> at >>> >> >> org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:138) >>> >> at >>> >> >> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) >>> >> at >>> >> >> org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) >>> >> at >>> >> >> org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1173) >>> >> at >>> >> >> org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:369) >>> >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)

    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. javax.mail.MessagingException

      Could not connect to SMTP host: 127.0.0.1, port: 25

      at org.apache.cocoon.mail.MailMessageSender.doSend()
    2. org.apache.cocoon
      CocoonServlet.service
      1. org.apache.cocoon.mail.MailMessageSender.doSend(MailMessageSender.java:448)
      2. org.apache.cocoon.mail.MailMessageSender.send(MailMessageSender.java:271)
      3. org.apache.cocoon.acting.Sendmail.act(Sendmail.java:247)
      4. org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:119)
      5. org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
      6. org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
      7. org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
      8. org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142)
      9. org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
      10. org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
      11. org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
      12. org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
      13. org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:252)
      14. org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
      15. org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
      16. org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
      17. org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
      18. org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142)
      19. org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
      20. org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
      21. org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
      22. org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
      23. org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:252)
      24. org.apache.cocoon.Cocoon.process(Cocoon.java:686)
      25. org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1153)
      25 frames
    3. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      1 frame
    4. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      8 frames
    5. Grizzly HTTP
      LeaderFollowerWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      4 frames
    6. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      1 frame
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame