Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert 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

Solutions on the web

via Oracle Community by 807581, 1 year ago
java.net.UnknownHostException: ajit-d18r738g60: ajit-d18r738g60	at java.net.InetAddress.getLocalHost(InetAddress.java:1308)	at com.sun.enterprise.util.net.NetUtils.getCanonicalHostName(NetUtils.java:66)	at com.sun.enterprise.util.ASenvPropertyReader.setSystemProperties(ASenvPropertyReader.java:161)	at com.sun.enterprise.tools.launcher.ProcessLauncher.buildInternalCommand(ProcessLauncher.java:468)	at com.sun.enterprise.tools.launcher.ProcessLauncher.buildCommand(ProcessLauncher.java:404)	at com.sun.enterprise.tools.launcher.ProcessLauncher.process(ProcessLauncher.java:204)	at com.sun.enterprise.tools.launcher.ProcessLauncher.main(ProcessLauncher.java:128)