We are trying to locate and edit the appropriate java.policy file that gets
exercised on our server which has 1.50_02 installed and runs Apache 2.0.
Our problem is we get a security acces exception whenever our applet tries
to execute some code that attempts to do a System.getProperty(). We have
been told to add the following line into the java.policy file but we don't
know which one to edit (we have approximately 20 on our server).
permission java.security.SecurityPermission "com.bean.xbean.debug","read";
Selvamohan Neethiraj - 13 Apr 2005 04:16 GMT
Can you provide us the exception ?
You should add the following permission:
<code>
permission java.util.PropertyPermission "com.bean.xbean.debug", "read";
</code>
Thanks,
Selva-
selvajavaone@infotekies.com
> We are trying to locate and edit the appropriate java.policy file that
> gets
[quoted text clipped - 4 lines]
> know which one to edit (we have approximately 20 on our server).
> permission java.security.SecurityPermission "com.bean.xbean.debug","read";