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

RMI is supposed to work with file protocols, but does not.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an Issue
    • P4
    • None
    • 1.2.1
    • core-libs
    • sparc
    • solaris_2.5.1

    Description


      Starting from the tutorial example, I generated four client/server pairs:
      PiHttpHttp, PiHttpFile, PiFileHttp, and PiFileFile.

                   Protocol used in setting java.rmi.server.codebase
         Name server setting client setting
       PiHttpHttp http http
       PiHttpFile http file
       PiFileHttp file http
       PiFileFile file file

      Source code, policy files, scripts, and golden files are attached.

      To run the code, untar the attachment. Then edit the first six assignments
      in the script remote.ksh. Start up rmiregistry on port 1200. Then
      execute remote.ksh.

      The only pair of programs that works is PiHttpHttp. Not coincidentally, this
      is the protocol pair used in the tutorial on the web.

      The output from my last run is attached as remote.out. These were obtained
      with JDK 1.2.1 build I.

      allan.jacobs@Eng 1999-03-04

      Attachments

        Activity

          People

            mwarressunw Michael Warres (Inactive)
            ajacobssunw Allan Jacobs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: