chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Hübel <jhue...@opentext.com>
Subject RE: What does http 411 Length reqired in CMIS client with WS lib mean?
Date Mon, 27 Sep 2010 09:34:52 GMT
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übel [mailto:jhuebel@opentext.com] 
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,

 

in a configuration that has been working for weeks I suddenly get a problem when using the
Swing client connecting to our Amazon repository.

 

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?

 

The only thing changed is my current network I use to connect. Strange. Any help is appreciated.

 

Jens

Here is full log from the Swing Client:

 

> 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.ObjectServiceImpl.getObject(ObjectServiceImpl.java:378)

                at org.apache.chemistry.opencmis.client.runtime.PersistentSessionImpl.getObject(PersistentSessionImpl.java:327)

                at org.apache.chemistry.opencmis.client.runtime.PersistentSessionImpl.getObject(PersistentSessionImpl.java:305)

                at org.apache.chemistry.opencmis.swingclient.model.ClientModel.loadFolder(ClientModel.java:149)

                at org.apache.chemistry.opencmis.swingclient.ClientFrame.showLoginForm(ClientFrame.java:258)

                at org.apache.chemistry.opencmis.swingclient.ClientFrame.access$000(ClientFrame.java:44)

                at org.apache.chemistry.opencmis.swingclient.ClientFrame$1.actionPerformed(ClientFrame.java:109)

                at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)

                at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)

                at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)

                at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)

                at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.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


Mime
View raw message