curity.AccessControlException: access denied (java.lang.RuntimePermission setContextClassLoader )

Oracle Community | 3004 | 2 decades ago
  1. 0

    Problems With WebLogic Server and JDK1.2.2

    Oracle Community | 2 decades ago | 3004
    curity.AccessControlException: access denied (java.lang.RuntimePermission setContextClassLoader )

    Root Cause Analysis

    1. curity.AccessControlException

      access denied (java.lang.RuntimePermission setContextClassLoader )

      at java.security.AccessControlContext.checkPermission()
    2. Java RT
      Method.invoke
      1. java.security.AccessControlContext.checkPermission(AccessControlContext.java:195)
      2. java.security.AccessController.checkPermission(AccessController.java:403)
      3. java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
      4. java.lang.Thread.setContextClassLoader(Thread.java:1130)
      5. java.lang.reflect.Method.invoke(Native Method)
      5 frames
    3. weblogic.jndi.internal
      Utils.setContextClassLoader
      1. weblogic.jndi.internal.Utils.setContextClassLoader(Utils.java:73)
      1 frame
    4. weblogic.jndi
      WLInitialContextFactory.newContext
      1. weblogic.jndi.WLInitialContextFactory.newContextFromServer(WLInitialContextFactory.java:380)
      2. weblogic.jndi.WLInitialContextFactory.newContext(WLInitialContextFactory.java:325)
      2 frames