You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2021/04/19 05:35:00 UTC

[jira] [Assigned] (KARAF-7111) Karaf 4.3.1 Display Errors When Framework Security is enabled

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

Jean-Baptiste Onofré reassigned KARAF-7111:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré

> Karaf 4.3.1 Display Errors When Framework Security is enabled
> -------------------------------------------------------------
>
>                 Key: KARAF-7111
>                 URL: https://issues.apache.org/jira/browse/KARAF-7111
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.3.1
>            Reporter: Wael Megdich
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
> 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)