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

new client connection will hang if (non-RMI) server never responds or closes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.1.8, 1.2.2, 1.3.0
    • core-libs
    • None
    • beta2
    • x86, sparc
    • solaris_2.5, solaris_2.5.1, windows_nt
    • Verified

      If a client-side RMI runtime attempts a JRMP connection to a server's TCP port that does not process JRMP (at least not correctly) in such a way that no data is returned in response to the initial handshake, and the connection isn't closed either, then the client will hang indefinitely. (This could happen if the original RMI server has gone down, and a new non-RMI server has started listening on the same port.)

      It would be nice if the JRMP client would set a (perhaps configurable) timeout for response to the initial JRMP handshake for situations like this, so that the connection attempt would eventually fail.

            peterjones Peter Jones (Inactive)
            peterjones Peter Jones (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: