karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-1694) Exception at shutdown when running under the OSGi security manager
Date Mon, 24 Mar 2014 15:52:46 GMT

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

Guillaume Nodet resolved KARAF-1694.
------------------------------------

    Resolution: Won't Fix

KARAF-608 provides a staged boot features installation which should allow referencing other
url handlers.  This won't be supported in the etc/startup.properties however.

> 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 was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message