File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


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 "Problems with RMI eclipse" Watch "Problems with RMI eclipse" New topic
Author

Problems with RMI eclipse

mike karl
Greenhorn

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

reg.policy


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
Bartender

Joined: Mar 24, 2008
Posts: 3838

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


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problems with RMI eclipse