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

Oracle Community | 807581 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    In Sun Studio Enterprise 8 to create portlets that use web services

    Oracle Community | 1 decade ago | 807581
    java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader)
  2. 0

    Copying classes from .JAR file throws an exception

    Netbeans Bugzilla | 2 decades ago | janpalka
    java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    AccessControlException when undeploying application

    Apache Bugzilla | 7 years ago | stephan.bublava
    java.lang.reflect.InvocationTargetException
  5. 0

    Trouble with Connector/J in an applet

    Google Groups | 1 decade ago | apchar
    java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.security.AccessControlException

      access denied (java.lang.RuntimePermission getClassLoader)

      at java.security.AccessControlContext.checkPermission()
    2. Java RT
      Class.getClassLoader
      1. java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
      2. java.security.AccessController.checkPermission(AccessController.java:427)
      3. java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
      4. java.lang.Class.getClassLoader(Class.java:588)
      4 frames
    3. Commons Discovery
      DiscoverSingleton.find
      1. org.apache.commons.discovery.resource.ClassLoaders.getLibLoaders(ClassLoaders.java:174)
      2. org.apache.commons.discovery.tools.DiscoverClass.find(DiscoverClass.java:355)
      3. org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:579)
      4. org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:418)
      4 frames
    4. Axis Web Services
      Service.<init>
      1. org.apache.axis.client.Service.getAxisClient(Service.java:104)
      2. org.apache.axis.client.Service.<init>(Service.java:113)
      2 frames
    5. com.javr20n0.client
      Javr20n0Client.run
      1. com.javr20n0.client.Javr20n0Client.run(Javr20n0Client.java:48)
      1 frame
    6. com.portlet
      GetClassInfoEntry.processAction
      1. com.portlet.GetClassInfoEntry.processAction(GetClassInfoEntry.java:45)
      1 frame
    7. com.sun.portal
      PortletAppEngineServlet.service
      1. com.sun.portal.portletappengine.PortletAppEngineServlet.service(PortletAppEngineServlet.java:229)
      1 frame
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    10. Glassfish Core
      SecurityUtil$1.run
      1. org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
      1 frame
    11. Java RT
      Subject.doAsPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
      2 frames
    12. Glassfish Core
      ApplicationFilterChain$1.run
      1. org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
      2. org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
      3. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
      4. org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
      5. org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
      5 frames
    13. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    14. Glassfish Core
      ApplicationDispatcher$PrivilegedInclude.run
      1. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      2. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
      3. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
      4. org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:80)
      5. org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:111)
      5 frames
    15. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    16. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:509)
      1 frame
    17. com.sun.portal
      ProviderHarness.getHarness
      1. com.sun.portal.container.portlet.impl.PortletContainer.invokePAE(PortletContainer.java:348)
      2. com.sun.portal.container.portlet.impl.PortletContainer.executeAction(PortletContainer.java:219)
      3. com.sun.portal.harness.HarnessPortletProvider.doProcessEdit(Unknown Source)
      4. com.sun.portal.harness.HarnessPortletProvider.processEdit(Unknown Source)
      5. com.sun.portal.harness.ProviderHarness.processEdit(Unknown Source)
      6. com.sun.portal.harness.ProviderHarness.runAction(Unknown Source)
      7. com.sun.portal.harness.ProviderHarness.restoreProvider(Unknown Source)
      8. com.sun.portal.harness.ProviderHarness.getHarness(Unknown Source)
      8 frames
    18. org.apache.jsp
      PSSimTarget_jsp._jspService
      1. org.apache.jsp.desktop.default_.harness.PSSimTarget_jsp._jspService(PSSimTarget_jsp.java:125)
      1 frame
    19. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
      1 frame
    20. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
      1 frame
    21. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
      3 frames
    22. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
      1 frame
    23. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    24. Glassfish Core
      SecurityUtil$1.run
      1. org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
      1 frame
    25. Java RT
      Subject.doAsPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
      2 frames
    26. Glassfish Core
      ApplicationFilterChain$1.run
      1. org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
      2. org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
      3. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
      4. org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
      5. org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
      5 frames
    27. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    28. Glassfish Core
      ApplicationDispatcher$PrivilegedInclude.run
      1. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      2. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
      3. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
      4. org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:80)
      5. org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:111)
      5 frames
    29. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    30. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:509)
      1 frame
    31. org.apache.jsp
      PSSim_jsp._jspService
      1. org.apache.jsp.PSSim_jsp._jspService(PSSim_jsp.java:53)
      1 frame
    32. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
      1 frame
    33. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
      1 frame
    34. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:251)
      3 frames
    35. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
      1 frame
    36. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    37. Glassfish Core
      SecurityUtil$1.run
      1. org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
      1 frame
    38. Java RT
      Subject.doAsPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
      2 frames
    39. Glassfish Core
      ApplicationFilterChain$1.run
      1. org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
      2. org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
      3. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
      4. org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
      5. org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
      5 frames
    40. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    41. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      1 frame
    42. com.sun.tools
      EncodeFilter.doFilter
      1. com.sun.tools.ide.portletbuilder.harness.filters.EncodeFilter.doFilter(EncodeFilter.java:27)
      1 frame
    43. Glassfish Core
      ApplicationFilterChain$1.run
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
      2. org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
      3. org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
      3 frames
    44. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    45. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
      3. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
      4. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
      5. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
      6. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
      7. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
      8. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
      10. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
      11. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
      11 frames
    46. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
      1 frame
    47. Glassfish Core
      WorkerThread.run
      1. com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
      2. com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
      3. com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
      4. com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
      4 frames
    48. Commons Discovery
      DiscoverSingleton.find
      1. org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:426)
      2. org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:378)
      2 frames
    49. Axis Web Services
      LogFactory$1.run
      1. org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)
      1 frame
    50. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    51. Axis Web Services
      LogFactory.<clinit>
      1. org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41)
      2. org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)
      2 frames