glassfish
  1. glassfish
  2. GLASSFISH-7352

HTTP request with fails for large attachments

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 9.1.1
    • Fix Version/s: 9.1.1_dev
    • Component/s: web_container
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      7,352

      Description

      I have a Web Service sending in binary attachment payloads of size ~500k. If the
      receive buffer size is not as large or bigger than the payload, the request
      fails with the following error thrown to the client –

      [#|2009-03-15T19:44:51.059-0700|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=14;_ThreadName=httpWorkerThread-8000-42;_RequestID=b6278104-abc4-4b35-8730-5989ef0428ee;|StandardWrapperValve[Buyer]:
      PWC1406: Servlet.service() for servlet Buyer threw exception
      com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code
      501: Method ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??( ??(
      ??( ??( ??( ?? -uuid:a56e7774-8db6-48b1-a260-e39f4c1512a5-POST is not defined
      in RFC 2068 and is not supported by the Servlet API
      at
      com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCodeOneway(HttpTransportPipe.java:218)
      at

      I shouldn't have to set the receive buffer size to a specific value for http
      request processing to succeed. I have a test case that I will send offline.

        Activity

        Hide
        jfarcand added a comment -

        Re-assign to myself

        Show
        jfarcand added a comment - Re-assign to myself
        Hide
        jfarcand added a comment -

        Fixed

        Checking in
        src/java/com/sun/enterprise/web/connector/grizzly/DefaultProcessorTask.java;
        /cvs/glassfish/appserv-http-engine/src/java/com/sun/enterprise/web/connector/grizzly/DefaultProcessorTask.java,v
        <-- DefaultProcessorTask.java
        new revision: 1.16.2.7; previous revision: 1.16.2.6
        done
        Checking in
        src/java/com/sun/enterprise/web/connector/grizzly/blocking/ProcessorBlockingTask.java;
        /cvs/glassfish/appserv-http-engine/src/java/com/sun/enterprise/web/connector/grizzly/blocking/ProcessorBlockingTask.java,v
        <-- ProcessorBlockingTask.java
        new revision: 1.6.6.2; previous revision: 1.6.6.1
        done

        Show
        jfarcand added a comment - Fixed Checking in src/java/com/sun/enterprise/web/connector/grizzly/DefaultProcessorTask.java; /cvs/glassfish/appserv-http-engine/src/java/com/sun/enterprise/web/connector/grizzly/DefaultProcessorTask.java,v <-- DefaultProcessorTask.java new revision: 1.16.2.7; previous revision: 1.16.2.6 done Checking in src/java/com/sun/enterprise/web/connector/grizzly/blocking/ProcessorBlockingTask.java; /cvs/glassfish/appserv-http-engine/src/java/com/sun/enterprise/web/connector/grizzly/blocking/ProcessorBlockingTask.java,v <-- ProcessorBlockingTask.java new revision: 1.6.6.2; previous revision: 1.6.6.1 done
        Hide
        jfarcand added a comment -

        Fix typo

        Checking in src/java/org/apache/coyote/http11/InternalInputBuffer.java;
        /cvs/glassfish/appserv-webtier/src/java/org/apache/coyote/http11/InternalInputBuffer.java,v
        <-- InternalInputBuffer.java
        new revision: 1.10.6.4; previous revision: 1.10.6.3
        done

        Show
        jfarcand added a comment - Fix typo Checking in src/java/org/apache/coyote/http11/InternalInputBuffer.java; /cvs/glassfish/appserv-webtier/src/java/org/apache/coyote/http11/InternalInputBuffer.java,v <-- InternalInputBuffer.java new revision: 1.10.6.4; previous revision: 1.10.6.3 done

          People

          • Assignee:
            jfarcand
            Reporter:
            rahulbiswas
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: