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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 7
    • Affects Version/s: 1.4.0, 6
    • Component/s: 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: