Showing results for 
Show  only  | Search instead for 
Did you mean: 
AppDynamics Team

How do I resolve this error: "ERROR: 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: access denied (
"java.lang.RuntimePermission" "getClassLoader")
[ERROR]  [ProcessQueue0]  [c.a.a.p.e.e.ElasticSearchExecutor] 
access denied ("java.lang.RuntimePermission" 
[ERROR]  [ProcessQueue0]  [c.a.a.p.e.e.ElasticSearchExecutor]      at
[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:

  • system-wide: $JAVA_HOME/lib/security/java.policy

  • for just the elasticsearch user: /home/elasticsearch/.java.policy

  • from a file specified in the JAVA_OPTS environment variable with

    export JAVA_OPTS="${JAVA_OPTS}`


Once this is complete, the error should be resolved.



Version history
Last update:
‎07-08-2020 03:13 PM
Updated by: