This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes unable to invoke RMI-help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "unable to invoke RMI-help" Watch "unable to invoke RMI-help" New topic
Author

unable to invoke RMI-help

Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
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

Joined: Sep 26, 2008
Posts: 399
Does anyone could inform to me, is those lines above valid parts of RMI?
I cannot yet, figure out what is the problem.
Thanks
 
 
subject: unable to invoke RMI-help