File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "unable to invoke RMI-help" Watch "unable to invoke RMI-help" New topic

unable to invoke RMI-help

Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
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.
I agree. Here's the link:
subject: unable to invoke RMI-help
It's not a secret anymore!