The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
October 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Confirmation

Posted by Pavan Kumar Keely on October 18, 2001 at 3:39 AM

> Working on Java RMI
> Even after setting the socket permission with policy tool, I am getting the following error.

> java.security.AccessControlException: access denied (java.net.SocketPermission 1
> 27.0.0.1:1099 connect,resolve)
> Can anybody let me know the soln
>


Are working on the localhost, I am just asking because the ip the exception displaying is 127.0.0.1. Where's the rmiregistry running? Is that on the localhost (127.0.0.1). From where you are trying to connect to the rmiregistry (trying to get the reference of the remote object). Please trying reply to this, and I will try my best to reply you back,...
please mail me to keely_pavan@hotmail.com

thank you
Pavan Kumar Keely




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us