After I upgraded our 32bit dedicated Windows 2003 server from 9.0 to 9.0.1 this part in java.policy file stopped working:
permission java.util.logging.LoggingPermission "control";
which means I'm not able to use Java Logger
. I get this:
HTTP JVM: java.security.AccessControlException: Access denied (java.util.logging.LoggingPermission control)
HTTP JVM: at java.security.AccessController.throwACE(AccessController.java:100)
HTTP JVM: at java.security.AccessController.checkPermission(AccessController.java:166)
HTTP JVM: at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
HTTP JVM: at java.util.logging.LogManager.checkPermission(LogManager.java:317)
HTTP JVM: at java.util.logging.LogManager.checkAccess(LogManager.java:311)
HTTP JVM: at java.util.logging.Logger.addHandler(Logger.java:548)
I even tried copying the java.policy file from 64bit 9.0 virtual server where it works and restarted HTTP. Then I tested with a replica of an application that works on 9.0 server and it gave this error on 9.0.1 server.
The Java code is in Code/Java elements and it is called from an XPage.
How do I grant permissions to Java in Domino 9.0.1?
Update:
If I add this:
permission java.security.AllPermission;
then it works. So it is reading the java.policy file but granting access to logging does not work any more, at least not the same way it works in 9.0.1. Granting AllPermission
is definitely not the solution I'm looking for.
Lars Migula seems to have the same problem after a fixpack install in 8.5.3.