File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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
Author

Emergency question about rmi and java security?

Ellen fish
Greenhorn

Joined: Oct 28, 2008
Posts: 27
hello,

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
Bartender

Joined: Oct 29, 2001
Posts: 8843
    
    7

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


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Emergency question about rmi and java security?
 
Similar Threads
NX: no permision or no stub use rmi? SOS SOS
RMI on Apache Server
Does anyone know what these error means?
why security manager doesn't work?
Problem using flexlm with Weblogic