APM Java Agent - AccessControlException

Hi @Eyal_Koren,

Thank you for your response.

The issue got resolved. You are right that JVM did not pick up the permissions that we configured.

Seems like docker image has the following configuration

-Djava.security.policy==/usr/local/tomcat/conf/catalina.policy

which means the security policy that we are configuration getting overwritten by catalina.policy file. So adding the following statement to the catalina.policy file itself resolved the issue.

grant codeBase "file:/usr/local/tomcat/apm/-" {
     permission java.security.AllPermission;
};

I appreciate your time and help.

Thanks,
Chandra