Our web component needs to read some values from a property file.
It works with Tomcat.
However when I run it on J2EE I get AccessControlException: access denied.
How can I relax the J2EE security
java.security.AccessControlException: access denied
(java.util.PropertyPermission *
read,write)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:267\
)
at
java.security.AccessController.checkPermission(AccessController.java:394)
at
java.lang.SecurityManager.checkPermission(SecurityManager.java:540)
at
java.lang.SecurityManager.checkPropertiesAccess(SecurityManager.java:1241)
at java.lang.System.getProperties(System.java:483)