Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
2.4
-
None
-
None
-
CentOS Linux, Java 6 (OpenJDK), Apache Felix OSGi Container
Description
Although other OSGi containers can handle javax... dependencies behind the scenes, Apache Felix needs them to be included in "Import-Package" of manifest file. I think javax... packages are not imported by default due to they are considered "extensions". Only way to use MongoDB Java driver in Felix is to add line:
Import-Package: javax.management
to the manifest (which is something difficult for Java programmers which are not familiar with jar tool).