wood burning stoves 2.0*
The moose likes Distributed Java and the fly likes AccessControlException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "AccessControlException" Watch "AccessControlException" New topic
Author

AccessControlException

Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
Hi, I�m having the following error when I try to run my rmi server, any clues???
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
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

Joined: Jul 24, 2001
Posts: 65
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


John Coleman, MSTA<br />Sun Certified Programmer for the Java� 2 Platform<br />john.coleman@eurobase-international.com<br />Eurobase banking solutions<br /><a href="http://www.eurobase-international.com/banking" target="_blank" rel="nofollow">http://www.eurobase-international.com/banking</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AccessControlException