Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9345172D8 for ; Thu, 4 Aug 2011 00:31:52 +0000 (UTC) Received: (qmail 96335 invoked by uid 500); 4 Aug 2011 00:31:52 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 95983 invoked by uid 500); 4 Aug 2011 00:31:51 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 95966 invoked by uid 99); 4 Aug 2011 00:31:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 00:31:51 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 00:31:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0CCCCA687A for ; Thu, 4 Aug 2011 00:31:27 +0000 (UTC) Date: Thu, 4 Aug 2011 00:31:27 +0000 (UTC) From: "George Florentine (JIRA)" To: dev@chemistry.apache.org Message-ID: <300506782.6629.1312417887049.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org 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 ---------------------------------------------------------------------------------------------------------------------------------------------------------------- Key: CMIS-416 URL: https://issues.apache.org/jira/browse/CMIS-416 Project: Chemistry Issue Type: Bug Components: opencmis-client-bindings Affects Versions: OpenCMIS 0.4.0 Environment: WebLogic 10.3 running under Windows Server 2008 Reporter: George Florentine Fix For: OpenCMIS 0.5.0 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 xxx, 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. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira