java.net.UnknownHostException: -a: -a

Coderanch | Jitesh Sinha | 6 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    java.net.UnknownHostException on Solaris

    Coderanch | 6 years ago | Jitesh Sinha
    java.net.UnknownHostException: -a: -a
  2. 0
    samebug tip
    When kafka creates new consumers, it simply concatenate the name of your VM to generate the consumer id. So, your VM resolves localhost as the name of your VM, not whatever you had set. To solve, add kafka(or the name of VM) plus address to /etc/hosts
  3. 0

    Step Install Oracle 10g R2 on Solaris 10 x86 | AZIZ's BLOG

    saifulaziz.com | 10 months ago
    java.net.UnknownHostException: -a: -a
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Issues on Redhat, but not elsewhere

    Google Groups | 9 years ago | octoberdan
    java.lang.ExceptionInInitializerError
  6. 0

    JGroups - General - org.jgroups.ChannelException: unable to setup the protocol stack

    nabble.com | 10 months ago
    java.net.UnknownHostException: esterel: esterel

  1. nasimk 2 times, last 5 months ago
  2. mortalman7 1 times, last 10 months ago
11 unregistered visitors
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.net.UnknownHostException

    -a: -a

    at java.net.InetAddress.getLocalHost()
  2. Java RT
    InetAddress.getLocalHost
    1. java.net.InetAddress.getLocalHost(InetAddress.java:1315)
    1 frame
  3. org.apache.jsp
    index_jsp._jspService
    1. org.apache.jsp.index_jsp._jspService(index_jsp.java:178)
    1 frame
  4. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    1 frame
  5. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    1 frame
  6. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    3 frames
  7. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    1 frame
  8. Jetty Server
    Default.service
    1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)
    2. org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:475)
    3. org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:275)
    4. org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:169)
    5. org.mortbay.jetty.servlet.Default.handleGet(Default.java:312)
    6. org.mortbay.jetty.servlet.Default.service(Default.java:232)
    6 frames
  9. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    1 frame
  10. Jetty Server
    ServletHandler.handle
    1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)
    2. org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:475)
    3. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:556)
    3 frames
  11. org.mortbay.http
    HttpContext.handle
    1. org.mortbay.http.HttpContext.handle(HttpContext.java:1563)
    1 frame
  12. Jetty Server
    WebApplicationContext.handle
    1. org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:623)
    1 frame
  13. org.mortbay.http
    SocketListener.handleConnection
    1. org.mortbay.http.HttpContext.handle(HttpContext.java:1515)
    2. org.mortbay.http.HttpServer.service(HttpServer.java:956)
    3. org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
    4. org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
    5. org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
    6. org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
    6 frames
  14. Jetty Util
    ThreadPool$PoolThread.run
    1. org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
    2. org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
    2 frames