Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
4.3.1
-
None
-
None
Description
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
Attachments
Attachments
Issue Links
- is related to
-
FELIX-6520 Allow new permission in ConfigAdmin
- Open