Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Knowledge Base

How do I resolve an Events Service stack trace start-up error?

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:
Labels (1)
By replying you agree to the Terms and Conditions of the AppDynamics Community.