Search code examples
xpageslotus-domino

modified java.policy ignored since installing fixpack 5 on Domino 8.5.3


I'm using Apache fop in my Xpages Project. To get the code running from within SSJS i modified the the java.policy and added following lines to the grant section:

permission java.lang.RuntimePermission "getClassLoader"; 
permission java.util.logging.LoggingPermission "control"; 

After upgrading the 8.5.3 Domino Server to Fixpack 5 it seems that the modification are not working any more and i get AccessControlExceptions

java.security.AccessControlException: Access denied (java.util.logging.LoggingPermission control)
java.security.AccessControlException: Access denied (java.lang.RuntimePermission getClassLoader)

However if i add

permission java.security.AllPermission;

everything works fine. Has someone an idea why the modifications are not working?


Solution

  • It's a bug in 8.5.3 FP5 and 9.0.1, SPR# RGAU9CSBWA, APAR LO77612. In your case the solution would be to upgrade to 9.0.