[ https://issues.apache.org/jira/browse/SOLR-4223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13545920#comment-13545920 ]
Uwe Schindler commented on SOLR-4223: ------------------------------------- Hi, I am not sure, but this problem was fixed in Solr by my commit yesterday: SOLR-4265 (solr no longer uses ServletRequest.getParameter*() at all, it parses the POST contents by itsself using an own UTF-8 compatible parser). The above settings are affecting POST, right? Because GET URLs are still limited to maximum URL length, right? The maximum length inside the default Solr config file for formdata sent through POST is now 2048 KiB ! You can raise it easily using solrconfig.xml. There is no config needed anymore in Solr, I did not know there were changes in Solr's web.xml about this. We should remove them now. See also CHANGES.txt and Solr Wiki about Tomcat configuration. > jetty8 with solr4.0: In jetty.xml maxFormContentSize configuration needs > Fixing > ------------------------------------------------------------------------------- > > Key: SOLR-4223 > URL: https://issues.apache.org/jira/browse/SOLR-4223 > Project: Solr > Issue Type: Bug > Components: search, Tests > Affects Versions: 4.0 > Reporter: Nathan Visagan > Assignee: Shalin Shekhar Mangar > Priority: Minor > Labels: configuration > Fix For: 4.1, 5.0 > > Attachments: SOLR-4223.patch > > > In jetty.xml, the cofiguration to set the maximum form content size does not > work, because jetty contextHandler reads System property > org.eclipse.jetty.server.Request.maxFormContentSize. > In CotextHandler.java line 137, the method call > "Integer.getInteger("org.eclipse.jetty.server.Request.maxFormContentSize",200000).intValue();" > returns always the default value 200000 regardless what is set below. > So instead of: > <Call name="setAttribute"> > <Arg>org.eclipse.jetty.server.Request.maxFormContentSize</Arg> > <Arg>400000</Arg> > </Call> > Replace with: > <Call class="java.lang.System" name="setProperty"> > <Arg>org.eclipse.jetty.server.Request.maxFormContentSize</Arg> > <Arg>400000</Arg> > </Call> > PS: > There are other ways to set this config limit in commandline like > -Dorg.eclipse.jetty.server.Request.maxFormContentSize=700000 or in > web-jetty.xml which works fine. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org