java.net.UnknownHostException: miro: miro

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

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • J2EE on win2003 Server
    via by 843833,
  • db:: 3.43::J2EE.JAR ORIONCLIENT.JAR zj
    via by Unknown author,
  • cannot start  domain in suse 9.3
    via by 843833,
  • Cannot start sun one application server
    via by 807581,
  • I can not create domain
    via by Rodrigo0461,
  • Problem starting Sun Application server
    via by 807581,
  • Get cur_ip in double ip host
    via by 843790,
    • java.net.UnknownHostException: miro: miro at java.net.InetAddress.getLocalHost(InetAddress.java:1191) at com.sun.enterprise.util.net.NetUtils.getCanonicalHostName(NetUtils.java:67) at com.sun.enterprise.util.ASenvPropertyReader.setSystemProperties(ASenvPropertyReader.java:156) at com.sun.enterprise.cli.framework.CLIMain.invokeCommand(CLIMain.java:87) at com.sun.enterprise.cli.framework.CLIMain.main(CLIMain.java:46)

    Users with the same issue

    raj76
    raj762 times, last one,
    nasimk
    nasimk2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    9 more bugmates