java.security.AccessControlException: access denied (java.lang.RuntimePe rmission setContextClassLoader)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Google Groups by Narendranatha R Sajjala, 3 months ago
access denied (java.lang.RuntimePe rmission setContextClassLoader)
via Oracle Community by 3004, 1 year ago
access denied (java.lang.RuntimePe rmission setContextClassLoader)
via Oracle Community by 3004, 1 year ago
access denied (java.lang.RuntimePermission setContextClassLoader)
via Oracle Community by 3004, 1 year ago
access denied (java.lang.RuntimePermission setContextClassLoader )
via GitHub by nik9000
, 1 year ago
access denied ("javax.management.MBeanServerPermission" "createMBeanServer")
via Google Groups by Waldemar Kozaczuk, 9 months ago
access denied ("java.lang.RuntimePermission" "setContextClassLoader")
java.security.AccessControlException: access denied (java.lang.RuntimePe rmission setContextClassLoader)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
at java.security.AccessController.checkPermission(AccessController.java:399)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at java.lang.Thread.setContextClassLoader(Thread.java:1140)
at weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
at weblogic.jndi.WLInitialContextFactoryDelegate.newLocalContext(WLInitialContextFactoryDelegate.java:279)
at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:240)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:205)
at weblogic.jndi.Environment.getContext(Environment.java:122)
at weblogic.jndi.Environment.getInitialContext(Environment.java:105)
at weblogic.jts.internal.TransactionManagerImpl.(TransactionManagerImpl.java:25)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1227)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:832)
at weblogic.Server.startServerDynamically(Server.java:131)
at weblogic.Server.main(Server.java:92)
at weblogic.Server.main(Server.java:58)

Users with the same issue

2 times, 5 days ago
Samebug visitor profile picture
Unknown user
Once, 1 week ago
Once, 4 months ago
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.