RMI Permissions Help Needed
From: tom bowles (tom_bowles_ox_at_hotmail.com)
Date: 10/29/03
- Next message: Erwin Moller: "Re: Java reference interpretation question"
- Previous message: Max: "not work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Oct 2003 01:31:41 -0800
Hello, I'm really stuck on this one:
Do RMI Permissions inherit properties from the system or somewhere
else ? because I can think of no other reason for this problem:
Here's the problem:
I have set up a simple RMI service running on XP, I set up a new
security Manager (see policy file below), yet when I call
Naming.rebind("//127.0.0.1:1093/Deck", myDeck);
// note I was getting other problems running on the default port.
I get the following error:
java.security.AccessControlException: access denied
(java.io.FilePermission \\c\
develop\rmi\rmi\classes read)
The permissions file is being found, because if I remove all
permissions it gets a connection problem with the socket.
Here's the permissions file
grant
{
// Allow everything
permission java.security.AllPermission "", "";
};
It can also find the directory C:\develop\rmi\rmi\classes because when
I remove the stub classes from there it fails before it reaches the
point it is failing above.
I'm stuck on this and if anyone could help I'd be very grateful.
The system is Windows XP professional, JBOSS is also running on the
system.
thanks,
Tom
- Next message: Erwin Moller: "Re: Java reference interpretation question"
- Previous message: Max: "not work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|