Knowledge Base

Showing results for 
Search instead for 
Did you mean: 

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
Revision #:
4 of 4
Last update:
‎07-08-2020 03:13 PM
Updated by:
Labels (1)

Found this article helpful? Click the Thumbs Up button.
Have an additional comment? Post it below.