RMI: Access Denied to SocketPermission

D

Dave

Hi.

I am having problems invoking a cient/server on the same machine. Its
from the
Fundamentals of RMI short course from sun.
http://developer.java.sun.com/developer/onlineTraining/rmi/RMI.html
Its the RMI Parameters example.

I'm using Jave SDK 2, Win 2k.

Here is the error after I run
java RMIServer

java.security.AccessControlException: access denied
(java.net.SocketPermission DBrown-2k:8080 connect,resolve)

I run Tomcat from DBrown-2k:8080 so I know that this Host Name is ok
however I can't seem to get past this error.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top