Description
While karaf-4.3.1 has defined jre.properties for Java 16, it does not have the corresponding eecap-16 config.properties leading to the following splat with Equinox:
Apr 03, 2021 9:43:55 PM org.apache.karaf.main.Main main SEVERE: Could not launch framework java.lang.IllegalStateException: Error initializing storage for Equinox container. at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:110) at org.eclipse.osgi.launch.Equinox.<init>(Equinox.java:53) at org.eclipse.osgi.launch.EquinoxFactory.newFramework(EquinoxFactory.java:35) at org.eclipse.osgi.launch.EquinoxFactory.newFramework(EquinoxFactory.java:30) at org.apache.karaf.main.Main.launch(Main.java:284) at org.apache.karaf.main.Main.main(Main.java:183) Caused by: java.lang.RuntimeException: Error occurred while checking the system module. at org.eclipse.osgi.storage.Storage.checkSystemBundle(Storage.java:461) at org.eclipse.osgi.storage.Storage.createStorage(Storage.java:182) at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:108) ... 5 more Caused by: org.osgi.framework.BundleException: Invalid manifest header Provide-Capability: ", osgi.service;objectClass:List<String>=java.lang.ClassLoader;equinox.classloader.type=contextClassLoader, osgi.service;objectClass:List<String> =javax.xml.parsers.DocumentBuilderFactory, osgi.service;objectClass:List<String>=javax.xml.parsers.SAXParserFactory, osgi.service;objectClass:List<String>=org.eclipse.osgi.framework.log.FrameworkLog, osgi.service;objectClass:List<String >=org.eclipse.osgi.framework.log.FrameworkLog;performance=true, osgi.service;objectClass:List<String>=org.eclipse.osgi.service.datalocation.Location;type=eclipse.home.location, osgi.service;objectClass:List<String>=org.eclipse.osgi.serv ice.datalocation.Location;type=osgi.configuration.area, osgi.service;objectClass:List<String>=org.eclipse.osgi.service.datalocation.Location;type=osgi.install.area, osgi.service;objectClass:List<String>=org.eclipse.osgi.service.dataloca tion.Location;type=osgi.instance.area, osgi.service;objectClass:List<String>=org.eclipse.osgi.service.datalocation.Location;type=osgi.user.area, osgi.service;objectClass:List<String>=org.eclipse.osgi.service.debug.DebugOptions, osgi.ser vice;objectClass:List<String>=org.eclipse.osgi.service.environment.EnvironmentInfo, osgi.service;objectClass:List<String>=org.eclipse.osgi.service.localization.BundleLocalization, osgi.service;objectClass:List<String>="org.osgi.service. log.LogReaderService,org.eclipse.equinox.log.ExtendedLogReaderService", osgi.service;objectClass:List<String>="org.osgi.service.log.LogService,org.eclipse.equinox.log.ExtendedLogService", osgi.service;objectClass:List<String>=org.eclips e.osgi.service.security.TrustEngine;osgi.signedcontent.trust.engine=org.eclipse.osgi, osgi.service;objectClass:List<String>=org.eclipse.osgi.service.urlconversion.URLConverter;protocol:List<String>="bundleentry,bundleresource", osgi.ser vice;objectClass:List<String>=org.apache.karaf.info.ServerInfo, eclipse.platform; osgi.os=linux; osgi.ws=gtk; osgi.arch=x86_64; osgi.nl=en_GB, osgi.native; osgi.native.osname:List<String>="Linux"; osgi.native.processor:List<String>="x86 -64,amd64,em64t,x86_64"; osgi.native.osversion:Version="5.11.8.fc33"; osgi.native.language="en"" at org.eclipse.osgi.util.ManifestElement.parseHeader(ManifestElement.java:355) at org.eclipse.osgi.container.builders.OSGiManifestBuilderFactory.createBuilder(OSGiManifestBuilderFactory.java:117) at org.eclipse.osgi.storage.Storage.getBuilder(Storage.java:840) at org.eclipse.osgi.storage.Storage.checkSystemBundle(Storage.java:409) ... 7 more