Fixing JBoss Error installing to Start: name=IIOPInvoker state=Create: java.net.UnknownHostException:

If you ever see the following when attempting to start up an instance of JBoss 6.x:

15:41:15,740 ERROR [AbstractKernelController] Error installing to Start: name=IIOPInvoker state=Create: java.net.UnknownHostException: some_host_name: some_host_name
        at java.net.InetAddress.getLocalHost(InetAddress.java:1426)
        [:1.6.0_17] at org.jboss.invocation.iiop.IIOPInvoker.start(IIOPInvoker.java:233) [:6.0.0.Final]

It is because JBoss cannot resolve the host name of the machine on which it is running.  To fix:

 

  • Edit /etc/hosts and add the name of the box pointing to an ip address.
  • Set up a proper DNS entry for the host name of the machine.

Leave a Reply