Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

It fails in the call RMI of Server.

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello personal,
I am executing a program server using RMI and this happening the following mistake:
"Exception occurred: java.security.AccessControlException: access denied (java.ne
t.SocketPermission 127.0.0.1:1099 connect,resolve)"
I am executing with the following command:
"java - Djava.security.policy=C:\test3\wideopen.policy myRMIServer"
How do I can contrornar the problem?.

Thankful for the help.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sergio,
Please change your name to be compliant with JavaRanch's naming policy.
Your displayed name should be 2 separate names with more than 1 letter each. We really would prefer that you use your REAL name.
You can change your name: here.
Thanks,
Cindy
PS: I am moving this to the RMI forum which is the Distributed Java Forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic