You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2012/07/31 12:40:35 UTC

[jira] [Created] (KARAF-1694) Exception at shutdown when running under the OSGi security manager

Guillaume Nodet created KARAF-1694:
--------------------------------------

             Summary: Exception at shutdown when running under the OSGi security manager
                 Key: KARAF-1694
                 URL: https://issues.apache.org/jira/browse/KARAF-1694
             Project: Karaf
          Issue Type: Bug
         Environment: {code}
karaf@root> ^D
Exception in thread "pool-8-thread-1" java.lang.SecurityException: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThread)
	at org.apache.felix.framework.Felix$1.checkPermission(Felix.java:573)
	at java.util.concurrent.ThreadPoolExecutor.shutdown(ThreadPoolExecutor.java:1094)
	at org.apache.mina.core.service.SimpleIoProcessorPool.dispose(SimpleIoProcessorPool.java:301)
	at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(AbstractPollingIoAcceptor.java:444)
	at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:680)
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThread)
	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)
	at java.security.AccessController.checkPermission(AccessController.java:546)
	at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
	at org.apache.felix.framework.Felix$1.checkPermission(Felix.java:569)
	... 7 more
{code}
            Reporter: Guillaume Nodet
            Assignee: Guillaume Nodet




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira