[JAVA-259] Apache Felix OSGi bug Created: 16/Jan/11  Updated: 29/May/11  Resolved: 29/May/11

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: 2.4
Fix Version/s: 2.6

Type: Bug Priority: Minor - P4
Reporter: Deniz Acay Assignee: Scott Hernandez (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

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).


Generated at Thu Feb 08 08:51:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.