This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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 ]
 
wood burning stoves
 
subject: RMI client "access denied" problem
 
Similar Threads
java.policy setting not reflecting
AccessControlException
Error in lookup: java.rmi.ConnectException
RMI example code fails
MYSql Driver ClassNotFound Exception