java.security.AccessControlException

Access denied (java.lang.RuntimePermission modifyThread)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4712

  • via Coderanch by Orest Ivasiv, 7 months ago
    Access denied (java.lang.RuntimePermission modifyThread)
  • Access denied ("java.lang.RuntimePermission" "modifyThread")
  • via Oracle Community by 843811, 1 year ago
    access denied (java.lang.RuntimePermission modifyThread)
  • Stack trace

    • java.security.AccessControlException: Access denied (java.lang.RuntimePermission modifyThread) at java.lang.Throwable.<init>(Throwable.java:67) at java.security.AccessControlException.<init>(Unknown Source) at java.security.AccessController.checkPermission(AccessController.java:108) at java.lang.SecurityManager.checkPermission(SecurityManager.java:532) at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:210) at com.ibm.ws.security.core.SecurityManager.checkAccess(SecurityManager.java:339) at java.lang.Thread.checkAccess(Thread.java:378) at java.lang.Thread.setPriority(Thread.java:813) at java.lang.Thread.<init>(Thread.java:269) at java.lang.Thread.<init>(Thread.java:91) at java.util.Timer$TimerImpl.<init>(Unknown Source) at java.util.Timer.<init>(Unknown Source) at org.apache.axis2.deployment.scheduler.Scheduler$1.run(Scheduler.java:33) at java.security.AccessController.doPrivileged(AccessController.java:202) at org.apache.axis2.java.security.AccessController.doPrivileged(AccessController.java:78) at org.apache.axis2.deployment.scheduler.Scheduler.<init>(Scheduler.java:31) at org.apache.axis2.deployment.DeploymentEngine.startSearch(DeploymentEngine.java:725) at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:133) at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:284) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95) at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525) at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443) at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:325) at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:165) at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1588) at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:98) at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:936) at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:857) at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:538) at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:360) at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:292) at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:99) at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:167) at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:722) at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:607) at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376) at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1162) at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1313) at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:611) at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:938) at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:740) at com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1312) at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4189) at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4367) at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255) at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamically(ApplicationMgrImpl.java:1317) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2089) at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:437) at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:122) at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:380) at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:644) at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:613) at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1215) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:599) at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36) at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:599) at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:243) at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1085) at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:966) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773) at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1313) at java.security.AccessController.doPrivileged(AccessController.java:251) at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:125) at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1206) at com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:599) at com.ibm.ws.management.connector.soap.SOAPConnector.invoke(SOAPConnector.java:396) at com.ibm.ws.management.connector.soap.SOAPConnector.service(SOAPConnector.java:231) at com.ibm.ws.management.connector.soap.SOAPConnection.handleRequest(SOAPConnection.java:62) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:683) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:487) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 week ago
    Once, 1 week ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    22 more bugmates