aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI client "access denied" problem" Watch "RMI client "access denied" problem" New topic
Author

RMI client "access denied" problem

Eliot Skywalker
Greenhorn

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?
thx
--Eliot


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 127.0.0.1?
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.
Chris
[ November 03, 2003: Message edited by: Chris Shepherd ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: RMI client "access denied" problem