aspose 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 Java 8 in Action this week in the Java 8 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: 8718
    
    6

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
Does anyone know what these error means?
RMI on Apache Server
Problem using flexlm with Weblogic
why security manager doesn't work?