Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RMI SocketPermission Exception

Status
Not open for further replies.

sap

Technical User
Aug 20, 2001
37
0
0
IN
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top