wood burning stoves 2.0*
The moose likes Distributed Java and the fly likes Emergency question about rmi and java security? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Emergency question about rmi and java security?" Watch "Emergency question about rmi and java security?" New topic

Emergency question about rmi and java security?

Ellen fish

Joined: Oct 28, 2008
Posts: 27

here is the error I'm getting for running my code.
I'm wondering if it has to do with rmi security policy?
Any idea how I can fix it running in eclipse?

Thank you in advance

Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission createSecurityManager)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.<init>(Unknown Source)
at net.jini.security.Security$ClassContextAccess.<init>(Security.java:965)
at net.jini.security.Security$ClassContextAccess.<init>(Security.java:965)
at net.jini.security.Security$1.run(Security.java:167)
at java.security.AccessController.doPrivileged(Native Method)
at net.jini.security.Security.<clinit>(Security.java:165)
... 10 more
Joe Ess

Joined: Oct 29, 2001
Posts: 8877

Please do not post the same question more than once. It causes confusion and duplication of effort as the community tries to help everyone.

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
wood burning stoves
subject: Emergency question about rmi and java security?