Hi all,
I am getting the following error while running the RMI servlet example from
Wrox book :

Error executing remote method
java.security.AccessControlException: access denied
(java.net.SocketPermission 127.0.0.1:1099 connect,resolve)

I have made the changes in java.policy file as suggested in the book 's
example :

  permission java.net.SocketPermission "*:1024-65535", "connect,accept";

The RMI client however executes the remote method successfully.

Also whenever I run my RMIservlet in Tomcat3.1 I have problems shutting
down the server  which also reports java.security.AccessControlException.

TIA

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to