Code Comments
Programming Forum and web based access to our favorite programming groups.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"; -- Message posted via http://www.webservertalk.com
Post Follow-up to this messageCan 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 "greg hock via webservertalk.com" <forum@nospam.webservertalk.com> wrote in message news:31b26992cdd2429aae2db59d66fc2678@Ja vaKB.com... > 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"; > > -- > Message posted via http://www.webservertalk.com
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.