Hello,
I'm evaluating ObjectDB for a future use in an OSGi project using Apache Karaf 4.0.7 (and later) as OSGi container.
When I try to deploy the objectdb.jar file to Karaf (copy the jar file to the deploy folder in Karaf) I get a stacktrace in the Karaf log file with the following message:
2016-12-02 14:52:34,292 | ERROR | raf-4.0.7/deploy | fileinstall | 4 - org.apache.felix.fileinstall - 3.5.4 | Failed to install artifact: /Users/aweirig/devel/osgi/apache-karaf-4.0.7/deploy/objectdb.jar org.osgi.framework.BundleException: The bundle file:/Users/aweirig/devel/osgi/apache-karaf-4.0.7/deploy/objectdb.jar does not have a META-INF/MANIFEST.MF! Make sure, META-INF and MANIFEST.MF are the first 2 entries in your JAR! at org.apache.felix.fileinstall.internal.DirectoryWatcher.installOrUpdateBundle(DirectoryWatcher.java:1004)[4:org.apache.felix.fileinstall:3.5.4] at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:952)[4:org.apache.felix.fileinstall:3.5.4] at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:871)[4:org.apache.felix.fileinstall:3.5.4] at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:485)[4:org.apache.felix.fileinstall:3.5.4] at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361)[4:org.apache.felix.fileinstall:3.5.4] at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:312)[4:org.apache.felix.fileinstall:3.5.4]
Something seems to be wrong with way the jar is build as I see a META-INF folder when I list the jar's contents.
Regards,
Alex