aspose file tools*
The moose likes Java in General and the fly likes It fails in the call RMI of Server. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "It fails in the call RMI of Server." Watch "It fails in the call RMI of Server." New topic
Author

It fails in the call RMI of Server.

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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.
Sean MacLean
author
Ranch Hand

Joined: Nov 07, 2000
Posts: 621
"Sergio",
Thanks for participating here at the Ranch. However, the name you are using does not comply with the naming convention described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name (not fictitious monikers). Please log in with a new name which meets the requirements.
Thanks.
Sean
saager mhatre
Ranch Hand

Joined: Dec 20, 2000
Posts: 61
Could you tell us what the contents of the file 'wideopen.policy' are. The permissions seem to have gone wrong somewhwere.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: It fails in the call RMI of Server.
 
Similar Threads
Running RMI applications
It fails in the call RMI of Server.
How to solve mistake this problem with RMI?
Getting java.security.AccessControlException
It fails in the call RMI of Server.