You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Wael Megdich (Jira)" <ji...@apache.org> on 2021/04/19 00:00:09 UTC
[jira] [Created] (KARAF-7110) Karaf 4.3.1 Display Errors When
Framework Security is enabled
Wael Megdich created KARAF-7110:
-----------------------------------
Summary: Karaf 4.3.1 Display Errors When Framework Security is enabled
Key: KARAF-7110
URL: https://issues.apache.org/jira/browse/KARAF-7110
Project: Karaf
Issue Type: Bug
Components: karaf
Affects Versions: 4.3.1
Reporter: Wael Megdich
Dears,
When enabling karaf framework-security feature and start karaf, the errors below are displayed in the log.
* Configuration:
** Java Version: JDK 11
** Karaf Version: 4.3.1
** etc/system properties is configured as follows: _java.security.policy==${karaf.etc}/all.policy_
_org.osgi.framework.security=osgi_
* When using Equinox as framework I get this error: _*ERROR* [CM Configuration Updater (Update: pid=org.ops4j.pax.logging)] Unexpected problem calling configuration plugin [org.osgi.service.cm.ConfigurationPlugin, id=108, bundle=26/mvn:org.apache.karaf.config/org.apache.karaf.config.core/4.3.1]_ _java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "getenv.ORG_OPS4J_PAX_LOGGING_COLOR_DEBUG")_
* When using Felix as framework I get this one: _[CM Configuration Updater (Update: pid=org.ops4j.pax.logging)] Unexpected problem calling configuration plugin [org.osgi.service.cm.ConfigurationPlugin, id=31, bundle=26/mvn:org.apache.karaf.config/org.apache.karaf.config.core/4.3.1]__java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "getenv.ORG_OPS4J_PAX_LOGGING_COLOR_DEBUG")_ _at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472) ~[?:?]_
Please note, that such configuration is well working with Karaf 4.1.0 and I get this error when upgrading to Karaf 4.3.1.
Do you have any idea about the cause of these errors ?
Thank you in advance.
Best Regards.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)