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

Occasional End of Stream but boundary not found using MTOM



    • 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


      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)


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



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