Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

RMI- java.security.AccessControlException: access denied

843793Mar 3 2003 — edited Mar 4 2003
Hi Guys!

Can anybody help me with this exception? "java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve)"

I copied an rmi example from Internet and it doesn't work..
I try to start a simple rmi server (in Linux) but there seem to be some socket issue. What do I do to make it work?

By the way, when I start rmiregistry it doesn't return. Instead I have to run it as a background process (rmiregistry&). Is that right? Is that supposed to be so?

I'll appriciate any help.

Best regards,
Anatoly
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 1 2003
Added on Mar 3 2003
1 comment
172 views