java.net.UnknownHostException: mailhost

Oracle Community | 807567 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Problem with Mail Servlet

    Oracle Community | 1 decade ago | 807567
    java.net.UnknownHostException: mailhost

    Root Cause Analysis

    1. java.net.UnknownHostException

      mailhost

      at java.net.PlainSocketImpl.connect()
    2. Java RT
      SmtpClient.<init>
      1. java.net.PlainSocketImpl.connect(Unknown Source)
      2. java.net.Socket.connect(Unknown Source)
      3. java.net.Socket.connect(Unknown Source)
      4. sun.net.NetworkClient.doConnect(Unknown Source)
      5. sun.net.NetworkClient.openServer(Unknown Source)
      6. sun.net.smtp.SmtpClient.openServer(Unknown Source)
      7. sun.net.smtp.SmtpClient.<init>(Unknown Source)
      7 frames
    3. Unknown
      TechSupport.doPost
      1. TechSupport.sendMail(TechSupport.java:83)
      2. TechSupport.doPost(TechSupport.java:27)
      2 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
      2 frames
    5. com.sun.web
      InvokerServlet.service
      1. com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:140)
      2. com.sun.web.core.InvokerServlet.service(InvokerServlet.java:169)
      2 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
      1 frame
    7. com.sun.web
      Context.handleRequest
      1. com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:140)
      2. com.sun.web.core.Context.handleRequest(Context.java:375)
      2 frames
    8. Glassfish
      ConnectionHandler.run
      1. com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:135)
      1 frame