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

TCP connections not closing

XMLWordPrintable

    • unknown
    • linux

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: