Details

    • Type: Sub-task Sub-task
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.2
    • Component/s: osgi
    • Security Level: public (Regular issues)
    • Labels:
      None

      Description

      We have RMIClassLoaderSpiImpl in geronimo-kernel. However, RMIClassLoader loads the spi impl using the system classloader. (http://java.sun.com/javase/6/docs/api/java/rmi/server/RMIClassLoader.html) So we'd have to get our impl into the system classloader unless osgi provides an additional level of delegation in the system classloader.

      For now I'm going to try not setting java.rmi.server.RMIClassLoaderSpi in RMIRegistryService

        Activity

        Hide
        David Jencks added a comment -

        Jarek found that by putting our impl in a jar in lib it is loadable by the standard rm classloader framework. It is not clear to me whether this actually results in bundle classes being accessible through rmi. I guess we should leave this open until we know.

        Show
        David Jencks added a comment - Jarek found that by putting our impl in a jar in lib it is loadable by the standard rm classloader framework. It is not clear to me whether this actually results in bundle classes being accessible through rmi. I guess we should leave this open until we know.
        Hide
        David Jencks added a comment -

        RMI and osgi seems to be a major headache, see for example https://mail.osgi.org/pipermail/osgi-dev/2009-January/001639.html

        Show
        David Jencks added a comment - RMI and osgi seems to be a major headache, see for example https://mail.osgi.org/pipermail/osgi-dev/2009-January/001639.html

          People

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

            Dates

            • Created:
              Updated:

              Development