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 Problems with RMI eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Problems with RMI eclipse" Watch "Problems with RMI eclipse" New topic

Problems with RMI eclipse

mike karl

Joined: Mar 21, 2013
Posts: 13
I have tried to solve this problem in so many ways that i am out of options. i have tried to create a RMI application from Orcale tutorials but get lost at running the program. i created the class files for the server and start rmiregistry. then when i try running the server i get a security exception although i have created a policy file
policy file is under C:\Users\BigApeWhat\workspace\RI_Engine\src
ComputeEngine.class is under C:\Users\BigApeWhat\workspace\RI_Engine\src\Compute


cmd prompt

I have also tried to do this task with the genady plugin in which i also get an error. but this time the server runs and the client connot

Any help will be grateful
Vijitha Kumara

Joined: Mar 24, 2008
Posts: 3902

Just looking at it, I guess you need to provide the policy file path properly in cmd.

[How to ask questions] [Twitter]
I agree. Here's the link:
subject: Problems with RMI eclipse
It's not a secret anymore!