Hi all,
I am looking to establish a rmi connection from a servlet.
A)
I launch my rmi server and the binding is just ok. I have grant the
following entries in jre/lib/security/java.policy
grant {
permission java.net.SocketPermission
"*:1024-65535","connect,accept,resolve";
permission java.net.SocketPermission "*:80","connect";
};
B) when calling my servlet from the browser, I get the following exception
from the servlet:
Error executing method java.security.AccessControlException: access denied
(java.net.SocketPermission 127.0.0.1:1099 connect,resolve)
My question is : Where is located the java.policy file that is used by jswdk
?
In have tried C:\winnt\profiles\mylogin\java.policy but without any
success.
Thanks for giving me pointers.
Bertrand
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html