[jira] [Commented] (SOLR-4223) jetty8 with solr4.0: In jetty.xml maxFormContentSize configuration needs Fixing
[ 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",20).intValue();" > returns always the default value 20 regardless what is set below. > So instead of: > >org.eclipse.jetty.server.Request.maxFormContentSize >40 > > Replace with: > > org.eclipse.jetty.server.Request.maxFormContentSize > 40 > > PS: > There are other ways to set this config limit in commandline like > -Dorg.eclipse.jetty.server.Request.maxFormContentSize=70 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
[jira] [Commented] (SOLR-4223) jetty8 with solr4.0: In jetty.xml maxFormContentSize configuration needs Fixing
[ https://issues.apache.org/jira/browse/SOLR-4223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13545905#comment-13545905 ] Shawn Heisey commented on SOLR-4223: Just received an email from eclipse bugzilla - a fix for the jetty bug will be in 8.1.9. > 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",20).intValue();" > returns always the default value 20 regardless what is set below. > So instead of: > >org.eclipse.jetty.server.Request.maxFormContentSize >40 > > Replace with: > > org.eclipse.jetty.server.Request.maxFormContentSize > 40 > > PS: > There are other ways to set this config limit in commandline like > -Dorg.eclipse.jetty.server.Request.maxFormContentSize=70 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
[jira] [Commented] (SOLR-4223) jetty8 with solr4.0: In jetty.xml maxFormContentSize configuration needs Fixing
[ https://issues.apache.org/jira/browse/SOLR-4223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13539324#comment-13539324 ] Commit Tag Bot commented on SOLR-4223: -- [branch_4x commit] Shalin Shekhar Mangar http://svn.apache.org/viewvc?view=revision&revision=1425684 SOLR-4223: "maxFormContentSize" in jetty.xml is not picked up by jetty 8 so set it via solr webapp context file > 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",20).intValue();" > returns always the default value 20 regardless what is set below. > So instead of: > >org.eclipse.jetty.server.Request.maxFormContentSize >40 > > Replace with: > > org.eclipse.jetty.server.Request.maxFormContentSize > 40 > > PS: > There are other ways to set this config limit in commandline like > -Dorg.eclipse.jetty.server.Request.maxFormContentSize=70 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
[jira] [Commented] (SOLR-4223) jetty8 with solr4.0: In jetty.xml maxFormContentSize configuration needs Fixing
[ https://issues.apache.org/jira/browse/SOLR-4223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13539322#comment-13539322 ] Commit Tag Bot commented on SOLR-4223: -- [trunk commit] Shalin Shekhar Mangar http://svn.apache.org/viewvc?view=revision&revision=1425683 SOLR-4223: "maxFormContentSize" in jetty.xml is not picked up by jetty 8 so set it via solr webapp context file > 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 > > 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",20).intValue();" > returns always the default value 20 regardless what is set below. > So instead of: > >org.eclipse.jetty.server.Request.maxFormContentSize >40 > > Replace with: > > org.eclipse.jetty.server.Request.maxFormContentSize > 40 > > PS: > There are other ways to set this config limit in commandline like > -Dorg.eclipse.jetty.server.Request.maxFormContentSize=70 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
[jira] [Commented] (SOLR-4223) jetty8 with solr4.0: In jetty.xml maxFormContentSize configuration needs Fixing
[ https://issues.apache.org/jira/browse/SOLR-4223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13539079#comment-13539079 ] Shawn Heisey commented on SOLR-4223: I filed a matching bug against the jetty project. https://bugs.eclipse.org/bugs/show_bug.cgi?id=397130 > 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 > > 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",20).intValue();" > returns always the default value 20 regardless what is set below. > So instead of: > >org.eclipse.jetty.server.Request.maxFormContentSize >40 > > Replace with: > > org.eclipse.jetty.server.Request.maxFormContentSize > 40 > > PS: > There are other ways to set this config limit in commandline like > -Dorg.eclipse.jetty.server.Request.maxFormContentSize=70 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
[jira] [Commented] (SOLR-4223) jetty8 with solr4.0: In jetty.xml maxFormContentSize configuration needs Fixing
[ https://issues.apache.org/jira/browse/SOLR-4223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537773#comment-13537773 ] Shawn Heisey commented on SOLR-4223: Running a very recent branch_4x. I have this in jetty.xml: {noformat} org.eclipse.jetty.server.Request.maxFormContentSize 1048576 {noformat} By artificially making my code add 20 spaces to a deleteByQuery, I duplicated this issue: {noformat} ERROR - 2012-12-21 02:29:00.108; org.apache.solr.common.SolrException; null:java.lang.IllegalStateException: Form too large200077>20 at org.eclipse.jetty.server.Request.extractParameters(Request.java:326) {noformat} > 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 > > > 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",20).intValue();" > returns always the default value 20 regardless what is set below. > So instead of: > >org.eclipse.jetty.server.Request.maxFormContentSize >40 > > Replace with: > > org.eclipse.jetty.server.Request.maxFormContentSize > 40 > > PS: > There are other ways to set this config limit in commandline like > -Dorg.eclipse.jetty.server.Request.maxFormContentSize=70 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
[jira] [Commented] (SOLR-4223) jetty8 with solr4.0: In jetty.xml maxFormContentSize configuration needs Fixing
[ https://issues.apache.org/jira/browse/SOLR-4223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537765#comment-13537765 ] Daniel Collins commented on SOLR-4223: -- As nathan says we are seeing errors in Solr, such as: {code} 05:53:44 newssolr:ERROR o.a.solr.servlet.SolrDispatchFilter - null:java.lang.IllegalStateException: Form too large348594>20 05:53:44 newssolr:~at org.eclipse.jetty.server.Request.extractParameters(Request.java:285) 05:53:44 newssolr:~at org.eclipse.jetty.server.Request.getParameterMap(Request.java:711) 05:53:44 newssolr:~at org.apache.solr.request.ServletSolrParams.(ServletSolrParams.java:29) 05:53:44 newssolr:~at org.apache.solr.servlet.StandardRequestParser.parseParamsAndFillStreams(SolrRequestParsers.java:394) 05:53:44 newssolr:~at org.apache.solr.servlet.SolrRequestParsers.parse(SolrRequestParsers.java:115) 05:53:44 newssolr:~at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:260) 05:53:44 newssolr:~at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307) 05:53:44 newssolr:~at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453) 05:53:44 newssolr:~at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) 05:53:44 newssolr:~at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:559) 05:53:44 newssolr:~at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) 05:53:44 newssolr:~at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1072) 05:53:44 newssolr:~at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:382) 05:53:44 newssolr:~at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) 05:53:44 newssolr:~at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1006) 05:53:44 newssolr:~at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) 05:53:44 newssolr:~at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255) 05:53:44 newssolr:~at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) 05:53:44 newssolr:~at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) 05:53:44 newssolr:~at org.eclipse.jetty.server.Server.handle(Server.java:365) 05:53:44 newssolr:~at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485) 05:53:44 newssolr:~at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53) 05:53:44 newssolr:~at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:926) 05:53:44 newssolr:~at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:988) 05:53:44 newssolr:~at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:642) 05:53:44 newssolr:~at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) 05:53:44 newssolr:~at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72) 05:53:44 newssolr:~at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264) 05:53:44 newssolr:~at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) 05:53:44 newssolr:~at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) 05:53:44 newssolr:~at java.lang.Thread.run(Thread.java:619) {code} We have very long queries (we are testing the XML parser) so we POST data instead of GET. > 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 > > > 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",20).intValue();" > returns always the default value 20 regardless what is set below. > So instead of: > >org.eclipse.jetty.server.Request.maxFormContentSize >40 > > Replace with: > > org.eclipse.jetty.server.Request.maxFormContentSize > 40 > > PS: > There are other ways to set this config limit in co
[jira] [Commented] (SOLR-4223) jetty8 with solr4.0: In jetty.xml maxFormContentSize configuration needs Fixing
[ https://issues.apache.org/jira/browse/SOLR-4223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537264#comment-13537264 ] Nathan Visagan commented on SOLR-4223: -- This happens when I submit a query {code} curl -X POST -d @query.txt http://localhost:8787/solr/select {code} query.txt is the file containg the query > 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 > > 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",20).intValue();" > returns always the default value 20 regardless what is set below. > So instead of: > >org.eclipse.jetty.server.Request.maxFormContentSize >40 > > Replace with: > > org.eclipse.jetty.server.Request.maxFormContentSize > 40 > > PS: > There are other ways to set this config limit in commandline like > -Dorg.eclipse.jetty.server.Request.maxFormContentSize=70 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
[jira] [Commented] (SOLR-4223) jetty8 with solr4.0: In jetty.xml maxFormContentSize configuration needs Fixing
[ https://issues.apache.org/jira/browse/SOLR-4223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537243#comment-13537243 ] Uwe Schindler commented on SOLR-4223: - Why do we need to set this at all? We read POST content by an InputStream, but we are never interested in the contents interpreted as form-content at all? > 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 > > 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",20).intValue();" > returns always the default value 20 regardless what is set below. > So instead of: > >org.eclipse.jetty.server.Request.maxFormContentSize >40 > > Replace with: > > org.eclipse.jetty.server.Request.maxFormContentSize > 40 > > PS: > There are other ways to set this config limit in commandline like > -Dorg.eclipse.jetty.server.Request.maxFormContentSize=70 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
[jira] [Commented] (SOLR-4223) jetty8 with solr4.0: In jetty.xml maxFormContentSize configuration needs Fixing
[ https://issues.apache.org/jira/browse/SOLR-4223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537025#comment-13537025 ] Nathan Visagan commented on SOLR-4223: -- It does not work. {code} 40 {code} No Method called setMaxFormContentSize on class org.eclipse.jetty.server.Server But you cam do {code} 40 {code} in web-jetty.xml. But that is an override for the reported setting. > 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 > > 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",20).intValue();" > returns always the default value 20 regardless what is set below. > So instead of: > >org.eclipse.jetty.server.Request.maxFormContentSize >40 > > Replace with: > > org.eclipse.jetty.server.Request.maxFormContentSize > 40 > > PS: > There are other ways to set this config limit in commandline like > -Dorg.eclipse.jetty.server.Request.maxFormContentSize=70 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
[jira] [Commented] (SOLR-4223) jetty8 with solr4.0: In jetty.xml maxFormContentSize configuration needs Fixing
[ https://issues.apache.org/jira/browse/SOLR-4223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537019#comment-13537019 ] Shalin Shekhar Mangar commented on SOLR-4223: - This should also work. {code} 40 {code} Can you verify? > 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 >Priority: Minor > Labels: configuration > > 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",20).intValue();" > returns always the default value 20 regardless what is set below. > So instead of: > >org.eclipse.jetty.server.Request.maxFormContentSize >40 > > Replace with: > > org.eclipse.jetty.server.Request.maxFormContentSize > 40 > > PS: > There are other ways to set this config limit in commandline like > -Dorg.eclipse.jetty.server.Request.maxFormContentSize=70 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
[jira] [Commented] (SOLR-4223) jetty8 with solr4.0: In jetty.xml maxFormContentSize configuration needs Fixing
[ https://issues.apache.org/jira/browse/SOLR-4223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537002#comment-13537002 ] Nathan Visagan commented on SOLR-4223: -- This has been already raised in the comments of https://issues.apache.org/jira/browse/SOLR-3159 > 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 >Priority: Minor > Labels: configuration > > 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",20).intValue();" > returns always the default value 20 regardless what is set below. > So instead of: > >org.eclipse.jetty.server.Request.maxFormContentSize >40 > > Replace with: > > org.eclipse.jetty.server.Request.maxFormContentSize > 40 > > PS: > There are other ways to set this config limit in commandline like > -Dorg.eclipse.jetty.server.Request.maxFormContentSize=70 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