How do I resolve this error: "ERROR: java.security.AccessControlException: access denied while starting events service"
Events Service stack trace error during start-up
While starting, the Events Service fails to start up due to following stack trace error:
[ERROR] [ProcessQueue0] [c.a.a.p.e.e.ElasticSearchExecutor] This message was throttled
[1] times: java.security.AccessControlException: access denied (
"java.lang.RuntimePermission" "getClassLoader")
[ERROR] [ProcessQueue0] [c.a.a.p.e.e.ElasticSearchExecutor]
java.security.AccessControlException:
access denied ("java.lang.RuntimePermission"
"getClassLoader")
[ERROR] [ProcessQueue0] [c.a.a.p.e.e.ElasticSearchExecutor] at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
[ERROR] [ProcessQueue0] [c.a.a.p.e.e.ElasticSearchExecutor]
To resolve this issue, the classloader permit-list can be customized by tweaking the local Java Security Policy. This can be done in one of the following ways: