|
Error: java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader)
Cause: the default settings of the SUN server policy settings does not allow classloaders within webapplications.
Solution: Simply replace the policy file with one that contains the following grant entry:
edit: C:\Sun\AppServer\domains\domain1\config\server.policy
add: This towards the bottom of the policy file.
grant {
// Allow everything for now
permission java.security.AllPermission;
};