Run in a JVM with Security Enabled

To enable a Java Security Manager and instrument the JVM, you need to edit the active security policy file to prevent problems within the interaction between JVM and the Java Agent. The Java Agent requires the change listed in the code block. You can locate the policy file by inspecting the value of the java.security.policy system property.

Add this code block to the JVM server.policy file: 

grant codeBase "file:/<app_agent_path>/-" 
{ 
  permission java.security.AllPermission;
};
CODE