This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
In spite of following all of the steps in Gopalan's RMI tutorial <http://www.execpc.com/~gopalan/java/java_rmi.html> things still aren't working. I get a nested AccessException: unknown host. Does anyone have an idea what I'm doing wrong? Thanks for any tips.
Hi, UnknownHostException is encountered when RMI is unable to resolve the server host name. If you are working on a stand alone machine then TCP/IP must be configured. To experiment with RMI on a single machine, you must provide the name of the machine. To find out the name of your machine, go to the control panel of start menu and select �Network.� Click on the "Identification" tab, and you�ll see your computer name. In my case, I call my computer "compaq". TCP / IP connection will have to be active. This means that you must connect to your Internet service provider before trying to run the program or you�ll get some obscure exception messages. Regards, Milind
BTW I am not running any http server. am I invovking my server properly??? Please send some comments, I am really in need of some help.
Joined: Aug 04, 2000
Milind, Thanks for those tips. I've now got things working. Is there any RMI book you can recommend? I'm currently using "Java Enterprise in a Nutshell" from O'Reilly. While it is a good book, it doesn't cover these basic beginners' problems. Thanks again, Tony.