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

java.rmi.Naming defaults port 1099 is not used.

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.6

      Description

      In URL-formatted arguments for the Naming class's methods,
      if port number is omitted, remote objects are not registered.

       For example,
      Naming.rebind("//myhost:1099/HelloServer", obj);
       works correctly. But,
      Naming.rebind("//myhost/HelloServer", obj);
       or
      Naming.rebind("HelloServer", obj);
       throws java.net.ConnectException.

      The specification says that
      If port is omitted, then the port defaults to 1099, the "well-known" port that RMI's registry, rmiregistry, uses.

      This is a regression.
      On JDK 1.2.2, it works correctly.



        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ldorninsunw Laird Dornin (Inactive)
              Reporter:
              eishidasunw Etsuko Ishida (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: