Chemistry
  1. Chemistry
  2. CMIS-416

Can't execute org.apache.chemistry.opencmis.client.api.Session.query() method under WL 10.x app server because HTTP POST chunking value is set to > 64k in size

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: OpenCMIS 0.4.0
    • Fix Version/s: OpenCMIS 0.5.0
    • Labels:
      None
    • Environment:

      WebLogic 10.3 running under Windows Server 2008

      Description

      On WebLogic 10.3, the HTTP chunking size for keep-alive sessions must be < 64k size or an HTTP POST command will fail. In the 0.4.0 version of HttpUtils the BUFFER_SIZE constant is set to a pretty large value (2 * 1024 * 1024 bytes), set on line 54 of HttpsUtils.java . With this setting, HTTP POST methods that go through the HttpUtils.invoke() method fail with an error on WL 10.3.x servers. On line 166, this statement:

      conn.setChunkedStreamingMode(BUFFER_SIZE);

      sets the buffer size and the subsequent write of the buffer fails. Reducing the size of BUFFER_SIZE to < 64k solves this issue.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Florian Müller
            Reporter:
            George Florentine
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 2h
              2h
              Remaining:
              Remaining Estimate - 2h
              2h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development