Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-5085 CORBA/Yoko OSGi enhancements
  3. GERONIMO-4917

Figure out how to use ext and endorsed classpaths under felix/karaf and get our corba spec in there.

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0-M1
    • Component/s: javaee6, osgi
    • Security Level: public (Regular issues)
    • Labels:
      None

      Description

      We need to find out how osgi deals with ext/endorsed directories and use that for our corba spec jar.

        Activity

        Hide
        rickmcguire Rick McGuire added a comment -

        I'm pretty sure that OSGi doesn't really deal with the concept of extensions/endorsed, but rather just deals with what packages from the system classpath will be wired up to bundles. I suspect all thats required is ensuring that the org.obg.* and javax.rmi.CORBA classes are defined for the system bundle. There are a couple of yoko-specific packages in those two jars that might need to be added, but I believe those are only implementation class that would not need to exported by the system bundle.

        Theoretically, it might be possible to wire these packages from a bundle, but I suspect there are JVM system classes that will need to load the same version, so this won't really work. That's the reason those jars needed to be in the endorsed dir in the first place.

        Show
        rickmcguire Rick McGuire added a comment - I'm pretty sure that OSGi doesn't really deal with the concept of extensions/endorsed, but rather just deals with what packages from the system classpath will be wired up to bundles. I suspect all thats required is ensuring that the org.obg.* and javax.rmi.CORBA classes are defined for the system bundle. There are a couple of yoko-specific packages in those two jars that might need to be added, but I believe those are only implementation class that would not need to exported by the system bundle. Theoretically, it might be possible to wire these packages from a bundle, but I suspect there are JVM system classes that will need to load the same version, so this won't really work. That's the reason those jars needed to be in the endorsed dir in the first place.
        Hide
        djencks David Jencks added a comment -

        support for this is now in both karaf and geronimo.

        Show
        djencks David Jencks added a comment - support for this is now in both karaf and geronimo.

          People

          • Assignee:
            Unassigned
            Reporter:
            djencks David Jencks
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development