When adding actions to a VMWare RA Agent job using Java 1.7 recieve an access denied error

Document ID : KB000088823
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
When adding actions to a VMWare RA Agent job using Java 1.7 recieve an access denied error
Resolution:

Symptoms

When using Java version 1.7 with Applications Manager v8 and trying to add actions to a VMWare RA Agent job you will see the following errors:

java.security.AccessControlException:access denied ("java.lang.RuntimePermission""getClassLoader")

               at java.security.AccessControlContext.checkPermission(Unknown Source)

               at java.security.AccessController.checkPermission(Unknown Source)

               at java.lang.SecurityManager.checkPermission(Unknown Source)

               at java.lang.reflect.Proxy.checkProxyAccess(Unknown Source)

               at java.lang.reflect.Proxy.newProxyInstance(Unknown Source)


Cause

This is an issue related to the changes made by Oracle in Java 1.7.  This issue is being tracked in PRB0309648.


Workaround

The workaround for this issue is to use Java 1.6.