Hi all ! I have runing a server called "RemoteMap". When I try to find it from, Client side in a local machine: 1rst option : MapClient.remoteMap = (RemoteMapAdapter) Naming.lookup (remoteMap.SERVICENAME); give me this error : //RemoteMapClient locating RMI registry on remote host //RemoteMapClient problem with RemoteMap, exception : // java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:1099 connect,resolve) Note: the remoteMap.SERVICENAME HAS the name of the server 2nd option: Registry remoteRegistry = LocateRegistry.getRegistry ("RemoteMap"); MapClient.remoteMap = (RemoteMap) remoteRegistry.lookup( MapClient.remoteMap.SERVICENAME ); give me this error: RemoteMapClient locating RMI registry on remote host RemoteMapClient problem with RemoteMap, exception : java.security.AccessControlException: access denied (java.net.SocketPermission RemoteMap resolve) I putted the reference to RMISecurityManager in both cases. This is my first try in RMI so PLEASE i need some help !
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads