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.
on
07-31-2018
04:40 PM
- edited on
07-08-2020
03:13 PM
by
Claudia.Landiva
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]
$JAVA_HOME/lib/security/java.policy
elasticsearch
user: /home/elasticsearch/.java.policy
from a file specified in the JAVA_OPTS
environment variable with -Djava.security.policy=someURL
:
export JAVA_OPTS="${JAVA_OPTS} -Djava.security.policy=file:///path/to/my.policy` ./bin/elasticsearch
Once this is complete, the error should be resolved.
https://www.elastic.co/guide/en/elasticsearch/reference/2.2/modules-scripting-security.html
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form