Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
framework-5.6.0
-
None
-
None
Description
Caused by: java.security.AccessControlException: access denied ("org.osgi.framework.AdminPermission" "(id=0)" "context") at java.security.AccessControlContext.checkPermission(java.base@9-ea/AccessControlContext.java:468) ~[?:?] at java.security.AccessController.checkPermission(java.base@9-ea/AccessController.java:894) ~[?:?] at java.lang.SecurityManager.checkPermission(java.base@9-ea/SecurityManager.java:548) ~[?:?] at org.apache.felix.framework.BundleImpl.getBundleContext(BundleImpl.java:243) ~[?:?] at org.apache.felix.framework.Felix.getBundleContext(Felix.java:106) ~[?:?] at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:684) ~[?:?] at org.apache.felix.framework.util.EventDispatcher.filterListenersUsingHooks(EventDispatcher.java:560) ~[?:?] at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543) ~[?:?] at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4558) ~[?:?] at org.apache.felix.framework.Felix.registerService(Felix.java:3550) ~[?:?] at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:348) ~[?:?] at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:322) ~[?:?] at org.apache.felix.cm.impl.ConfigurationManager.start(ConfigurationManager.java:250) ~[?:?] at org.apache.felix.framework.util.SecureAction$Actions.run(SecureAction.java:1709) ~[?:?] at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) ~[?:?] at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:688) ~[?:?] at org.apache.felix.framework.Felix.activateBundle(Felix.java:2227) ~[?:?] at org.apache.felix.framework.Felix.startBundle(Felix.java:2145) ~[?:?] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) ~[?:?] at org.apache.karaf.bundle.command.Restart.doExecute(Restart.java:51) ~[?:?] ... 14 more
Attachments
Attachments
Issue Links
- is related to
-
FELIX-5148 Framework Security unusable
- Closed
- is required by
-
KARAF-3400 Enabling Java System Security and OSGi security leaves Karaf in unusable state
- Resolved