Getting java.security.AccessControlException error on service startup

You can create a custom policy file and add the grant permission java.io.FilePermission "D:\ELK\appdynamics\conf\SAPPLOG01\processPersistenceFile.ser", "read" to that policy file.

I want to be clear about two things here:

  • you're in your own territory here as far as the security risks here
  • we do not support Elasticsearch with agents like this attached