Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4427857

Code downloading with POA requires downloader to know codebase

XMLWordPrintable

    • generic
    • generic

      Currently, a lot of the serialization code assumes that the codebase
      will be included in the IOR. However, in the POA case, the server
      doesn't have enough information to determine a codebase to send.

      The client code should fall back onto the connection's CodeBase
      interface.

      Also, several places in the code assume that Util.getCodebase(repId)
      will return the remote codebase when it only returns the local codebase.

      Thus, the downloader must set its javax.rmi.server.codebase variable.
      In real situations, the downloader doesn't know that information.

      Please contact Tuong Nguyen for a test case, or modify the one in
      rip-int's test/src/share/classes/corba/codebase to only give the
      javax.rmi.server.codebase property to the sender rather than the
      receiver.

            kcavanauorcl Ken Cavanaugh (Inactive)
            eandersosunw Everett Anderson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: