This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
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: 3899
    
    9

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
 
It's not a secret anymore!