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

Registry bind address flexibility

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P5
    • None
    • 1.4.1
    • core-libs
    • Fix Understood
    • x86
    • 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

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

              Dates

                Created:
                Updated:
                Imported:
                Indexed: