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

(so) Intermittent SocketException: Transport endpoint is not connected (lnx)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 1.4.0, 6
    • core-libs
    • b70
    • generic
    • generic

      A test making connections to various web servers from Linux intermittently
      fails with:

      Test caughtjava.net.SocketException: Transport endpoint is not connected
      java.net.SocketException: Transport endpoint is not connected
              at sun.nio.ch.SocketChannelImpl.shutdown(Native Method)
              at sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:362)
              at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:344)
              at webClientTest2.<init>(webClientTest2.java:132)
              at webClientTest2.main(webClientTest2.java:244)


      Execute the attached test, webClientTest2 in either blocking (use -b)
      or non-blocking mode (default) to any webserver. Examples:

      java webClientTest2 -webServer impulse.sfbay.sun.com
      java webClientTest2 -webServer impulse.sfbay.sun.com -b
      java webClientTest2 -webServer 129.145.129.119 -port 80
      java webClientTest2 -webServer 129.145.129.119 -port 80 -b

            alanb Alan Bateman
            kpolomsksunw Krystyna Polomski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: