This week's book giveaway is in the Web Services forum.
We're giving away four copies of Microservices in Action and have Morgan Bruce & Paulo A. Pereira on-line!
See this thread for details.
Win a copy of Microservices in Action this week in the Web Services forum!
  • 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 ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

RMI problem  RSS feed

 
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...!
 
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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!