axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ann Robinson (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (AXIS2-2219) Java2 Security exception in Threadpool
Date Tue, 20 Feb 2007 22:41:06 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-2219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ann Robinson reassigned AXIS2-2219:
-----------------------------------

    Assignee: Ann Robinson

> 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
>         Assigned To: Ann Robinson
>         Attachments: patch.txt
>
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message