From: Alessandro V. <av...@sc...> - 2008-07-14 19:34:28
|
Alessandro Vernet wrote: > > What follows makes me believe there is a limit the length of queries sent > to eXist through the REST API with a GET. [...] > With the help from Dannes (thank you!), we figured out that this is not an issue with eXist, but with Tomcat. It is Tomcat that closes the connection when it considers the URL to be too long. (It should instead respond with a 414, like Jetty does.) Increasing the value of maxHttpHeaderSize on the Connector element in server.xml solves the problem. I had it set to 8192 (8K), and the URL I had in this case was just above 9K. You might wonder why an attribute called maxHttpHeaderSize, with a documentation that matches its name (http://tomcat.apache.org/tomcat-5.5-doc/config/http.html), applies to URL length. I wonder too, but I guess this is a topic for another mailing list :). Alex ----- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ -- View this message in context: http://www.nabble.com/REST-API%3A-Connection-closed-by-peer-tp18448932p18451417.html Sent from the exist-open mailing list archive at Nabble.com. |