JBoss thrown error looking up local address when starting

Posted by Jeeba on Server Fault See other posts from Server Fault or by Jeeba
Published on 2011-02-14T20:25:56Z Indexed on 2011/02/14 23:27 UTC
Read the original article Hit count: 336

Filed under:
|
|
|

Hello im installing a fresh Jboss 5.1 in a Centos 5.5 machine. I dont have Apache installed. So when I try to start jboss using the comand ./run.sh I get the following error

15:13:57,414 INFO  [JMXKernel] Legacy JMX core initialized
15:14:03,856 ERROR [ServerInfo] Error looking up local address
java.net.UnknownHostException: dhcppc1: dhcppc1
    at java.net.InetAddress.getLocalHost(InetAddress.java:1354)
    at org.jboss.system.server.ServerInfo.getHostAddress(ServerInfo.java:364)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   ....

After that i can run Jboss only from 127.0.0.1:8080 but using localhost:8080 doesnt work. I think its a centos configuration problem but im a total newbye managing ports and maybe firewalls, so what do you think could be the problem?

© Server Fault or respective owner

Related posts about centos

Related posts about java