> Hi All
> I have a servlet that uses a class to read a property file, I am using a
> BASIC logging for my web application and I can't read the property file
> because I don't have read permission. The server throws the follow
> exception:
> 500 Internal Server Error
> java.security.AccessControlException: access denied
> (java.io.FilePermission pidesteban.prop read)
>       at java.security.AccessControlContext.checkPermission(Unknown
> Source)
>       at java.security.AccessController.checkPermission(Unknown Source)
>       at java.lang.SecurityManager.checkPermission(Unknown Source)
>       at java.lang.SecurityManager.checkRead(Unknown Source)
>       at java.io.FileInputStream.<init>(Unknown Source)
>       at nec.ar.sol.servlet.hcd.Pid.pid(Pid.java:47)
>       at nec.ar.sol.servlet.hcd.MainMenu2.init(MainMenu2.java:35)
>       at com.evermind.server.http.HttpApplication.vt(JAX)
>       at com.evermind.server.http.HttpApplication.vc(JAX)
>       at com.evermind.server.http.HttpApplication.tp(JAX)
>       at com.evermind.server.http.d5.rx(JAX)
>       at com.evermind.server.http.d5.rw(JAX)
>       at com.evermind.util.f.run(JAX)
> 
> The questions are:
> How I can read the property file?
> What is the java.policy file that Orion use?
> 
> Thank you so much, Esteban Lopez

Reply via email to