Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5497

Occasional End of Stream but boundary not found using MTOM

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • 1.6.1, 1.6.2
    • None
    • None
    • Client running on Windows XP JRE 1.6.0_32-b05

    Description

      Using MTOMSample service (sample/mtom/service) to upload big amount (>1000) of files sequentially, it happens occasionally that client aborts with exception caused by "java.net.SocketTimeoutException: Read timed out." The axis2 debug log show "End of Stream but boundary not found".
      In the testing environment, the client timeout was set to 10s, the size of the uploaded file is 75KB. It is also noteable that the End of Stream log on the service is shown only after > 1 minute after end of header initialisation.
      The issue was reproducable on Windows XP/JRE 1.6

      The issue could not be reproduced

      • when the client was executed on CentOS5 JRE 1.6/1.7 or Windows Vista JRE 1.6
      • when TCPMon was used to monitor soap packages (probably because this reduces throughput drastically)

      Attachments

        1. axis2_failed.log
          39 kB
          Stefan Traud
        2. axis2-1.6.3-axiom-1.2.15-SNAPSHOT_A-failed.log
          40 kB
          Stefan Traud
        3. axis2-1.6.3-axiom-1.2.15-SNAPSHOT_B-failed.log
          40 kB
          Stefan Traud
        4. axis2-1.6.3-SNAPSHOT_A-failed.log
          36 kB
          Stefan Traud
        5. axis2-1.6.3-SNAPSHOT_B-failed.log
          36 kB
          Stefan Traud
        6. client_exception.log
          5 kB
          Stefan Traud
        7. client_exception-A-axis2-1.6.3-axiom-1.2.15-SNAPSHOT.log
          0.9 kB
          Stefan Traud
        8. client_exception-A-axis2-1.6.3-SNAPSHOT.log
          1 kB
          Stefan Traud
        9. client_exception-B-axis2-1.6.3-axiom-1.2.15-SNAPSHOT.log
          5 kB
          Stefan Traud
        10. client_exception-B-axis2-1.6.3-SNAPSHOT.log
          5 kB
          Stefan Traud
        11. MTOMSampleClient.jar
          121 kB
          Stefan Traud
        12. MTOMStressClient.java
          4 kB
          Stefan Traud

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            straud Stefan Traud
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment