If you will use "ExecutorService" in your Domino Java code, you will need additional configure Java Security.
"shutdown" method in "ExecutorService" will throw "AccessControlException" in trival java agent.
java.security.AccessControlException: Access denied (java.lang.RuntimePermission modifyThread)
at java.security.AccessControlException.<init>(AccessControlException.java:62)
at java.security.AccessController.checkPermission(AccessController.java:68)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
at java.util.concurrent.ThreadPoolExecutor.shutdown(ThreadPoolExecutor.java:1105)
Yes, this is not a bug but this turn my mind in to stat like this is bug.
Here the way to resolve
http://www-01.ibm.com/support/docview.wss?uid=swg21279509
Or you could create your own executor like NotesExecutorService
No comments:
Post a Comment