[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jetty-users] Modifying maxFormContentSize in Apache Solr service.
|
Hi,
On Wed, Oct 12, 2022 at 6:02 PM Kaushal Shriyan
<kaushalshriyan@xxxxxxxxx> wrote:
>
> Hi,
>
> I am running Apache Solr 8.11.2 on CentOS Linux release 7.9.2009 (Core) trying to modify /opt/solr/server/etc/jetty.xml to set the Attribute maxFormContentSize as per the below path
>
> [root@etc]# ls -l
> total 76
> -rw-r--r-- 1 root root 1950 May 13 03:21 jetty-gzip.xml
> -rw-r--r-- 1 root root 3630 May 13 03:21 jetty-https8.xml
> -rw-r--r-- 1 root root 3698 Oct 12 17:54 jetty-https.xml
> -rw-r--r-- 1 root root 2686 Oct 12 17:53 jetty-http.xml
> -rw-r--r-- 1 root root 1850 May 13 03:21 jetty-requestlog.xml
> -rw-r--r-- 1 root root 2248 May 13 03:21 jetty-ssl.xml
> -rw-r--r-- 1 root root 11646 Oct 12 17:51 jetty.xml
> -rw-r--r-- 1 root root 11823 May 13 03:21 security.policy
> -rw-r--r-- 1 root root 1279 May 13 03:21 security.properties
> -rw-r--r-- 1 root root 24426 May 13 03:21 webdefault.xml
> [root@etc]#
>
> I am adding the below attribute in /opt/solr/server/etc/jetty.xml to increase maxFormContentSize
>
> <Call name="setAttribute">
> <Arg>org.eclipse.jetty.server.Request.maxFormContentSize</Arg>
> <Arg>1500000</Arg>
> </Call>
>
> When i restart the solr service it fails with the below message.
Please post the whole jetty.xml, it's not clear where did you put the
maxFormContentSize snippet, nor whether you have other problems.
--
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.