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

TCP connections not closing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 1.3.0
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      unknown
    • OS:
      linux

      Description

      implementing custom socket factory for RMI using JSSE1.0.2 and JDK1.3.0.
      Everything runs fine when the Server is running on Windows NT. When the server runs on Linux RedHat6.2, the TCP Connection threads never finish, even after the client terminates the connection.

      For each "TCP Connection" thread an "RMI ConnectionExpiration" thread is created, and later closes the socket, but the "TCP Connection" threads remain active, waiting on the "java.net.SocketInputStream.socketRead" method.

      The same program using RMIClientSocketFactory and RMIServerSocketFactory that generate regular sockets works OK on both Windows and Linux.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alanb Alan Bateman
              Reporter:
              mhosanee Matt Hosanee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: