Running in a JVM with Security Enabled

If you want to enable a java security manager and instrument the JVM, you need to make changes to the active security policy file to prevent problems within the interaction between JVM and the Java Agent. The agent requires the change listed below. The policy file can be located by inspecting the value of the system property.

Add the following block to the JVM server.policy file: 

grant codeBase “file:\* AGENT_DEPLOYMENT_DIRECTORY \*/-”
   permission security manager.AllPermission;