I'm using jdk 1.3.1 on win2k and learning RMI.
The policy file is saved as "java.policy" in the same folder where all .java,.class and stub & skeleton file are stored.
when i startup server object as
c:\>java -Djava.security.policy=java.policy InfoServerImpl
it throws exception as
java.security.AccessControlException: access denied
<java.net.SocketPermission 127.0.0.1:1099 connect,resolve>
pls help.
The policy file is saved as "java.policy" in the same folder where all .java,.class and stub & skeleton file are stored.
when i startup server object as
c:\>java -Djava.security.policy=java.policy InfoServerImpl
it throws exception as
java.security.AccessControlException: access denied
<java.net.SocketPermission 127.0.0.1:1099 connect,resolve>
pls help.