• 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
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

unable to invoke RMI-help  RSS feed

 
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings.
I am trying to perform simple RMI invocation, but I got failures continuously. I have tried multiple examples, from multiple books and multiple sites, and nothing.. The same has been thrown, when I try to run HelloServer (so when I try to register object in rmi naming registry).
I find out that there could be some bug in my java installation, but yet, I will provide to you here a simple test I have unsuccessfully performed.

1. create interface .


2.Create implementatio class;


3. create server simulation, for naming binding


4. the client of RMI service


5. compilation of classes :

6.compilation of Impl. using rmic :

7.starting registry by typing in command prompt located in the package folder


8. invocing server

9.invocing client

I could bet, that this example I have tested a log time ago and I believe that it works as well. However, now it wont I know that there is a plenty of such a 'trivial' questions, but please consider my.
thanks in advance
 
Goran Markovic
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone could inform to me, is those lines above valid parts of RMI?
I cannot yet, figure out what is the problem.
Thanks
 
You guys wanna see my fabulous new place? Or do you wanna look at this tiny ad?
ScroogeXHTML - small and flexible RTF to HTML converter library
https://coderanch.com/t/710903/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!