I am running a tomcat web server.
I am using RMI.
When i call the method
InetAddress.getLocalHost()
it throws exception.
Unknown host: slot12/0:0:0:0:0:0:0:1; nested exception is:
java.net.UnknownHostException: slot12/0:0:0:0:0:0:0:1
java.rmi.UnknownHostException: Unknown host: slot12/0:0:0:0:0:0:0:1; nested exception is:
java.net.UnknownHostException: slot12/0:0:0:0:0:0:0:1
My
/etc/hosts entries ...