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:09:00 UTC

[jira] [Created] (KARAF-7112) Karaf 4.3.1 Security Manager Log errors

Wael Megdich created KARAF-7112:
-----------------------------------

             Summary: Karaf 4.3.1 Security Manager Log errors
                 Key: KARAF-7112
                 URL: https://issues.apache.org/jira/browse/KARAF-7112
             Project: Karaf
          Issue Type: Bug
          Components: karaf
            Reporter: Wael Megdich


Dears,

 

When enabling Karaf framework-security some errors will be displayed in the container log.

Configuration:
 * Java Version: 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 Felix as OSGI framework I get this error: 

_*ERROR* [FelixStartLevel] 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_APACHE_KARAF_COMMAND_ACL_SHELL_EXEC")_

 

When switching to Equinox, I get this one:

_*ERROR* [pipe-log:tail] 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")_

 

Please note that such configuration is working with Karaf 4.1.0 and I get this error when upgrading to Java 11 and Karaf 4.3.1

 

Do you have any idea about the origin of the issue ?

 

Thank you in advance.

Best Regards.

 

Wael

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)