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

Registry bind address flexibility

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P5
    • Resolution: Unresolved
    • Affects Version/s: 1.4.1
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Understanding:
      Fix Understood
    • CPU:
      x86
    • OS:
      windows_2000

      Description

      Name: rl43681 Date: 06/18/2003


      A DESCRIPTION OF THE REQUEST :
      Using java.rmi.registry.LocateRegistry.createRegistry(), one can only specify port, not which address to bind the registry to if multiple IP addresses/NICs are present on the system.

      JUSTIFICATION :
      A host has very often multiple IP addresses and it's desired to run a service like e.g. the Registry on a specified IP. In many cases one interface is for management/network internal purposes and the other interface is visible from the outside world and/or the corporate firewall.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Bind-address flexibility when creating/exporting the RIM registry (actually should ALL services ending up making network connection be flexible with regards to IP, when the calling entity is not making the socket itself).
      ACTUAL -
      My RMI server and RMI client runs on different hosts. The client can reach the registry, but the host the registry indicates the the looked up object is running on, is not visible from the client (it's the "wrong" IP/NIC. Seems like the Registry just picks the first in the list (same order as ipconfig /all on a win 2000 system).

      (Review ID: 186935)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rlewis Roger Lewis (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Imported:
                  Indexed: