File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes RMI client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI client "access denied" problem" Watch "RMI client "access denied" problem" New topic

RMI client "access denied" problem

Eliot Skywalker

Joined: Oct 22, 2003
Posts: 18
Hi,I got the server successfully bound on my own pc, and tried to run the client. and I got an "access denied" exception somewhat like the following:

I have allowed all permission at serverside, and I've also set securitymanager in the client code. So what is the problem?

Every man dies, not every man really lives.
Chris Shepherd
Ranch Hand

Joined: Jun 27, 2000
Posts: 286
did you bind your server to your PC ip address or did you bind it to
I actually bind it twice when I want to run the client on the local machine and on a remote machine at the same time.

You don't have a firewall blocking 1099 do you?
Can you post your binding/rebinding code? It might help.
[ November 03, 2003: Message edited by: Chris Shepherd ]
I agree. Here's the link:
subject: RMI client "access denied" problem
It's not a secret anymore!