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 AccessException problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI AccessException problem" Watch "RMI AccessException problem" New topic

RMI AccessException problem

Steve Breen

Joined: Jun 14, 2002
Posts: 2
Please help.
I've got a AccessException being thrown when i attempt to bind to a rmi registry running on a remote machine. I've given full permissions to both the server and client
grant {

but it still throwns the exception:

The client attempts to bind an object to the rmiregistry on a remote machine and the above error is given back
Run the server using
java Server
Client is the same command.
Anyone any ideas?
Michael Ernest
High Plains Drifter

Joined: Oct 25, 2000
Posts: 7292

"SG" --
Welcome to JavaRanch! We're glad to have you here.
Would you please change your name to match JavaRanch's naming policy? We ask that all registered users display a name that meets the guidelines listed in the provided link. We feel it helps up maintain a professional image.

Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

Hi "SG" --
Welcome to JavaRanch! We ain't got too many rules here at the Ranch, but we do have our naming policy. Please read it and change your display name to match, pronto!
Now, on to your question. If the command line you're showing below is really what you're typing, then the problem is the "==" double equals; you're telling Java the policy file is named "=policy.file". Use only a single equals sign, and see if that don't fix ya up.

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: RMI AccessException problem
It's not a secret anymore!