Java2 Security exception in Threadpool
--------------------------------------
Key: AXIS2-2219
URL: https://issues.apache.org/jira/browse/AXIS2-2219
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: kernel
Reporter: Ann Robinson
In some environments where Java2 Security is enabled, the ThreadPool code will
get an AccessControlException where access to create/modify threads/thread
groups is denied.
Stack Trace:
java.security.AccessControlException: Access denied
(java.lang.RuntimePermission modifyThreadGroup)
at
java.security.AccessController.checkPermission(AccessController.java:104)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:547)
at
com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:189)
at
com.ibm.ws.security.core.SecurityManager.checkAccess(SecurityManager.java:309)
at java.lang.ThreadGroup.checkAccess(ThreadGroup.java:216)
at java.lang.Thread.initialize(Thread.java:339)
at java.lang.Thread.<init>(Thread.java:274)
at java.lang.Thread.<init>(Thread.java:167)
at
org.apache.axis2.util.threadpool.ThreadPool$1.newThread(ThreadPool.java:102)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.addThread(ThreadPoolExecutor.java:419)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.addIfUnderCorePoolSize(ThreadPoolExecutor.java:441)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:872)
at
org.apache.axis2.util.threadpool.ThreadPool.execute(ThreadPool.java:67)
at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:279)
at
org.apache.axis2.jaxws.core.controller.AxisInvocationController.execute(AxisInvocationController.java:630)
at
org.apache.axis2.jaxws.core.controller.AxisInvocationController.doInvokeAsync(AxisInvocationController.java:261)
at
org.apache.axis2.jaxws.core.controller.InvocationController.invokeAsync(InvocationController.java:201)
at
org.apache.axis2.jaxws.client.BaseDispatch.invokeAsync(BaseDispatch.java:258)
.......
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]