-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 2.4
-
Component/s: None
-
None
-
Environment:CentOS Linux, Java 6 (OpenJDK), Apache Felix OSGi Container
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).