As I tested
[i]127.0.0.1 localhost [/i]
is not enough
in my laptop
I give two lines in /etc/hosts
[i]127.0.0.1 localhost
127.0.0.1 prosp4300-laptop[/i]
prosp4300-laptop is my computer name
If I remove the second line, same exception will happen
[Message sent by forum member 'prosp4300' (Guizhou.Feng_at_cognizant.com)]
http://forums.java.net/jive/thread.jspa?messageID=391986