This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Apr 12, 2011, 7:54 AM
38 Posts

Re: java.security.AccessControlException: Access denied Error

  • Category: Server Side JavaScript
  • Platform: All
  • Release: 8.5.2
  • Role:
  • Tags:
  • Replies: 4
 Try it the way I descriped, and you will know if it was enough ;-)
Apr 12, 2011, 8:25 AM
8 Posts
Re: java.security.AccessControlException: Access denied Error
The way you described it was enough. I no longer got the exception. However, I was somewhat uneasy about security implication.
 
After carefully reading the error:
          04/12/2011 12:58:26 AM HTTP JVM: java.security.AccessControlException: Access denied (java.util.PropertyPermission hsqldb.reconfig_logging write)
I then figured out another solution which I hope, being no java security expert, is more secure. 
 
I added the following line to the java policy file:
 
grant { 
  permission java.util.PropertyPermission "hsqldb.reconfig_logging", "write";
}; 
 
This seems to work OK. 
 
The conclusion is as follows: Running an agent with unrestricted access does not require this line. Running a JAR file from WEB-INF/lib folder  requires the line. Is there a way to mark a JAR file in the WEB-INF/lib folder as having unrestricted access in a similar way as notes agent?
 
 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal