Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problems with RMI eclipse  RSS feed

 
mike karl
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3992
27
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just looking at it, I guess you need to provide the policy file path properly in cmd.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!