Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AccessControlException

 
Marcos Maia
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I�m having the following error when I try to run my rmi server, any clues???
 
Marcos Maia
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I just comment the line:

from the server implementation and it worked, I�m now looking for some tutorial on RMISecurityManager if you know some link pls provide.
thanks in advance,
Marcos
 
John Coleman
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The VM is not finding your policy file.
Be careful with JBuilder5 as there is an error in the VM run configs (they say c:\JBuilder4!), so make sure you have:
-Djava.security.policy=file:C:\JBuilder5\samples\RMI\SimpleRMI.policy
for this example. Otherwise check your paths and policy file very carefully.
John
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic