java.net.SocketException: Connection reset

Oracle Community | 818594 | 6 years ago
  1. 0

    getting java.net.SocketException: Connection reset

    Oracle Community | 6 years ago | 818594
    java.net.SocketException: Connection reset
  2. 0
    before running my test in debug mode, i open the debug view, and remove some breakpoints (such as some remaining on NullPointersExceptions, and Sockets)
    via GitHub by ppoulard
  3. 0
    Here is a animation for the life cycle. http://tcp.cs.st-andrews.ac.uk/index.shtml?page=connection_lifecycle
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Upgrade your nanohttpd
  6. 0
    Set larger socket timeout (or 0 to set no timeout).

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.SocketException

      Connection reset

      at java.net.SocketInputStream.read()
    2. Java RT
      HttpURLConnection.doTunneling
      1. java.net.SocketInputStream.read(SocketInputStream.java:197)
      2. java.io.BufferedInputStream.fill(BufferedInputStream.java:229)
      3. java.io.BufferedInputStream.read1(BufferedInputStream.java:267)
      4. java.io.BufferedInputStream.read(BufferedInputStream.java:324)
      5. sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:636)
      6. sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:585)
      7. sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:1302)
      8. sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:598)
      9. sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:1302)
      9 frames
    3. com.ibm.net
      c.connect
      1. com.ibm.net.ssl.www2.protocol.https.c.connect(c.java:31)
      1 frame
    4. Java RT
      HttpURLConnection.getOutputStream
      1. sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:865)
      1 frame
    5. com.ibm.net
      a.getOutputStream
      1. com.ibm.net.ssl.www2.protocol.https.a.getOutputStream(a.java:54)
      1 frame
    6. xxscc.oracle.apps
      SccB2BInterface.runProgram
      1. xxscc.oracle.apps.xtr.b2b.ssl.utils.MessageSender.sendMessage(MessageSender.java:186)
      2. xxscc.oracle.apps.xtr.b2b.txn.handlers.MT940StatementRequestHandler.handleTransactionRequest(MT940StatementRequestHandler.java:274)
      3. xxscc.oracle.apps.xtr.b2b.cp.SccB2BInterface.runProgram(SccB2BInterface.java:91)
      3 frames
    7. oracle.apps.fnd
      Run.main
      1. oracle.apps.fnd.cp.request.Run.main(Run.java:157)
      1 frame