Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-259

Apache Felix OSGi bug

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.6
    • 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).

            Assignee:
            scotthernandez Scott Hernandez (Inactive)
            Reporter:
            dacay Deniz Acay
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: