java.security.AccessControlException: access denied (java.io.FilePermission PATH_AND_NAME_OF_THE_FILE)

Issue : 

Deployment Manager export fails for any object. User is prompted with Export Failed dialog box, and no exception is found in the server log.

When you look at the JRE console, you can see the following:

java.security.AccessControlException: access denied (java.io.FilePermission PATH_AND_NAME_OF_THE_FILE)

 

Resolution : 

Perform the following steps:

  1. Modify your java.policy in theJRE_HOME/lib/security/ directory.
  2. Replace the existing policy file content with the following:
    grant{
    permission java.security.AllPermission;
    };
  3. Restart the browser to laod the policy again. You can now export the data.

Leave a Reply

Your email address will not be published. Required fields are marked *