I have a problem with my EJB Client app.
Remote JNDI lookup works, but during RMI invocation it tries to connect to 127.0.1.1 instead of the remote host. I've been developing this app for a long time and everything has worked correctly until now. Yesterday I switched to Ubuntu (from Fedora), and accidentally deleted my Eclipse dir during the switch, so I installed Eclipse v3.3 instead (used v3.2.2 before).
I had this problem in the beginning of the development, but I can't remember how it was solved. Please help!
Never mind, I remembered now.
The problem was that my host name was resolved to 127.0.1.1 because such an entry was present in /etc/hosts. After commenting that out, it worked fine.