Knowledge Base

Showing results for 
Search instead for 
Did you mean: 

How do I resolve "ERROR: access denied while starting events service"?


While starting the Events Service, it fails to start up due to following error stack trace:


[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 whitelist can be customised by tweaking the local Java Security Policy. This can be done:
  • system wide: $JAVA_HOME/lib/security/java.policy,
  • for just the elasticsearch user: /home/elasticsearch/.java.policy, or
  • from a file specified in the JAVA_OPTS environment variable with

    export JAVA_OPTS="${JAVA_OPTS}`


Once this is complete, this error should be resolved.



Version history
Revision #:
2 of 2
Last update:
‎07-31-2018 04:40 PM
Updated by:
Labels (1)

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