Error executing data process; Caused by: access denied ("java.lang.RuntimePermission" "getProtectionDomain") (in groovy script)
This is often seen when the atom/molecule is on Java Version 1.8.0_121-b13.
- Install Java Security Policy files by following the below instructions:
- Navigate to atom server/molecule fileshare server <atom installation>/bin folder, copy and rename both procrunner-HIGH.policy file and the procworker-HIGH.policy file to procrunner-CUSTOM.policy and procworker-CUSTOM.policy.
- Add the below lines to both procrunner-CUSTOM.policy file and procworker-CUSTOM.policy file.
Under Miscellaneous Other Permissions:
permission java.lang.RuntimePermission "getProtectionDomain";
permission groovy.security.GroovyCodeSourcePermission "/groovy/script";
permission java.io.FilePermission "/groovy/script", "read";
- Add the below property to Atom Management - Properties page and restart the atom afterwards:
Property name: Security Policy propertyThis configuration will tell the atom/molecule to use CUSTOM.policy file.
Property value: CUSTOM
1 person found this helpful