Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

J2EE AccessControlException: access denied

  Asked By: Durril    Date: Jun 11    Category: Java    Views: 915
  

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)

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on J2EE AccessControlException: access denied Or get search suggestion and latest updates.