"Java.Security.Accesscontrolexception: Access Denied (Java.Lang.Runtimepermission Createclassloader)" In Oracle GlassFish Server (Doc ID 1392591.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle GlassFish Server - Version 2.1 to 2.1.1 [Release 2.1]
Oracle Java CAPS - Version 5.1.3 to 5.1.3 [Release 5.1]
Information in this document applies to any platform.
***Checked for relevance on 26-Jun-2013***

Symptoms

Oracle GlassFish Server log shows the following exception when accessing Identity Manager (Oracle Waveset) application and the application fails to load.

[#|2012-01-05T14:44:52.843-0800|WARNING|sun-appserver2.1.1|javax.enterprise.system.stream.err|_ThreadID=24;_ThreadName=Task Scheduler;_RequestID=a6b7a733-33aa-400b-9768-3c2a308db34a;|java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)
at java.security.AccessController.checkPermission(AccessController.java:546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkCreateClassLoader(SecurityManager.java:594)
at java.lang.ClassLoader.checkCreateClassLoader(ClassLoader.java:177)
at java.lang.ClassLoader.<init>(ClassLoader.java:225)
at java.security.SecureClassLoader.<init>(SecureClassLoader.java:93)
at java.net.URLClassLoader.<init>(URLClassLoader.java:115)
at com.waveset.msgcat.Catalog.findBundleInDir(Catalog.java:236)
at com.waveset.msgcat.Catalog.findCatalog(Catalog.java:354)
at com.waveset.msgcat.Catalog.format(Catalog.java:549)
at com.waveset.msgcat.Message.getMessage(Message.java:311)
at com.waveset.util.WavesetException.getMessage(WavesetException.java:293)
at com.waveset.util.WavesetException.getMessage(WavesetException.java:355)
at com.waveset.util.WavesetException.getLocalizedMessage(WavesetException.java:366)
at java.lang.Throwable.toString(Throwable.java:343)
at com.waveset.task.ServerRegistry.setServerState(ServerRegistry.java:491)
at com.waveset.task.ServerRegistry.activate(ServerRegistry.java:198)
at com.waveset.task.Scheduler.run(Scheduler.java:1137)
|#]

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms