From chemistry-dev-return-2262-apmail-incubator-chemistry-dev-archive=incubator.apache.org@incubator.apache.org Mon Sep 27 09:34:49 2010 Return-Path: Delivered-To: apmail-incubator-chemistry-dev-archive@minotaur.apache.org Received: (qmail 93084 invoked from network); 27 Sep 2010 09:34:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Sep 2010 09:34:49 -0000 Received: (qmail 15198 invoked by uid 500); 27 Sep 2010 09:34:49 -0000 Delivered-To: apmail-incubator-chemistry-dev-archive@incubator.apache.org Received: (qmail 15081 invoked by uid 500); 27 Sep 2010 09:34:46 -0000 Mailing-List: contact chemistry-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chemistry-dev@incubator.apache.org Delivered-To: mailing list chemistry-dev@incubator.apache.org Received: (qmail 15073 invoked by uid 99); 27 Sep 2010 09:34:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Sep 2010 09:34:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jhuebel@opentext.com designates 149.235.128.48 as permitted sender) Received: from [149.235.128.48] (HELO mucmx01.ixos.de) (149.235.128.48) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Sep 2010 09:34:40 +0000 Received: from mucpm01.smtp.dmz.opentext.com (localhost [127.0.0.1]) by mucmx01.ixos.de (8.12.10+Sun/8.12.10) with ESMTP id o8R9YHs6017340 for ; Mon, 27 Sep 2010 11:34:17 +0200 (MEST) Received: from MUCXGC2.opentext.net (mucxg04.opentext.net [149.235.128.138]) by mucpm01.smtp.dmz.opentext.com (8.14.4/8.14.4) with ESMTP id o8R9YGQt022244 for ; Mon, 27 Sep 2010 05:34:16 -0400 (envelope-from jhuebel@opentext.com) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: What does http 411 Length reqired in CMIS client with WS lib mean? Date: Mon, 27 Sep 2010 11:34:52 +0200 Message-ID: <267F7EC9C11CCB4C806D30029DA677630ED44D90@MUCXGC2.opentext.net> In-Reply-To: <267F7EC9C11CCB4C806D30029DA677630ED44CF1@MUCXGC2.opentext.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: thread-topic: What does http 411 Length reqired in CMIS client with WS lib mean? Thread-Index: ActdxaqSz4hwxZcHSgq/DFY4CbmkCgAYRDkw References: <267F7EC9C11CCB4C806D30029DA677630ED44CF1@MUCXGC2.opentext.net> From: =?iso-8859-1?Q?Jens_H=FCbel?= To: X-Archived: msg.AeiU7fZ:2010-09-27:mucpm01.smtp.dmz.opentext.com The issue is caused by a proxy that sits between my Laptop and the = server using a network connection from a hotel. It seems that this proxy = changes the http headers in a way incompatible with our web service = stack. AtomPub is not affected. I will post more details once I have fully resolved the issue. Jens -----Original Message----- From: Jens H=FCbel [mailto:jhuebel@opentext.com]=20 Sent: Sonntag, 26. September 2010 23:56 To: chemistry-dev@incubator.apache.org Subject: What does http 411 Length reqired in CMIS client with WS lib = mean? Hi Chemistry, =20 in a configuration that has been working for weeks I suddenly get a = problem when using the Swing client connecting to our Amazon repository. =20 CmisRuntimeException: Error: The server sent HTTP status code 411: = Length Required This happens only with web services and from the server log files it = seems that I do not receive a request at all. Is this a known problem = somewhere? JAX-WS perhaps? =20 The only thing changed is my current network I use to connect. Strange. = Any help is appreciated. =20 Jens Here is full log from the Swing Client: =20 > 23:52:28 DEBUG nt.bindings.spi.webservices.PortProvider: Initializing = Web Service = org.apache.chemistry.opencmis.binding.webservices.ObjectService... > 23:52:29 DEBUG nt.bindings.spi.webservices.PortProvider: Creating Web = Service port object of = {http://docs.oasis-open.org/ns/cmis/ws/200908/}ObjectService... > 23:52:30 ERROR mistry.opencmis.swingclient.ClientHelper: = CmisRuntimeException: Error: The server sent HTTP status code 411: = Length Required org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: = Error: The server sent HTTP status code 411: Length Required at = org.apache.chemistry.opencmis.client.bindings.spi.webservices.ObjectServi= ceImpl.getObject(ObjectServiceImpl.java:378) at = org.apache.chemistry.opencmis.client.runtime.PersistentSessionImpl.getObj= ect(PersistentSessionImpl.java:327) at = org.apache.chemistry.opencmis.client.runtime.PersistentSessionImpl.getObj= ect(PersistentSessionImpl.java:305) at = org.apache.chemistry.opencmis.swingclient.model.ClientModel.loadFolder(Cl= ientModel.java:149) at = org.apache.chemistry.opencmis.swingclient.ClientFrame.showLoginForm(Clien= tFrame.java:258) at = org.apache.chemistry.opencmis.swingclient.ClientFrame.access$000(ClientFr= ame.java:44) at = org.apache.chemistry.opencmis.swingclient.ClientFrame$1.actionPerformed(C= lientFrame.java:109) at = javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at = javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:23= 18) at = javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.jav= a:387) at = javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at = javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListe= ner.java:236) at = java.awt.Component.processMouseEvent(Component.java:6263) at = javax.swing.JComponent.processMouseEvent(JComponent.java:3267) > 23:52:30 ERROR mistry.opencmis.swingclient.ClientHelper: Error code: 0