• Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI problem

 
rasica sharma
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i have one SCO-UNIX machine on which i hv installed jdk-1.1.8 & one windows 98 machine on which jdk1.4 is installed. Unix & windows machines are connected in LAN.I m trying to make RMI interface between these two.
I hv run RMI program on 2 windows but i m unable to run the same program on unix (server) & windows(client). After doing all the procedure (creating stubs & skeletons etc.) and after starting RMI registry when i run my server program (Server.java) by giving "#java Server &" i get the following error message:
#Exception: java.rmi.connectIOException:
Error creating connection to :[rgp:1099];
nested exception is :
java.net.NoRouteToHostException: No route to host
i m not getting exactly what to do.....coz network connection is proper...i hv done some client-server programs using sockets which work well on Unix &windows.....
Please help me....If u know any solution,link abt it...plz tell me.....
WAITING 4 UR REPLY...!
 
Mark Webb
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sounds to me like you are not using the correct host name, or you can't connect via LAN. try pinging the hostname, or replace the hostname with the IP address in your program
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!