• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Joe Ess

RMI problem  RSS feed

Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.....
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!