Sending large text to servlet

Avatar

Avatar

TheBigRed

Avatar

TheBigRed

TheBigRed

09-03-2017

I'm getting the following error whenever passing a large body of text to a servlet:

09.03.2017 10:04:28.015 *WARN* [qtp2103505453-6000] org.eclipse.jetty.http.HttpParser URI is too large >16384 09.03.2017 10:04:28.015 *WARN* [qtp2103505453-6000] org.eclipse.jetty.http.HttpParser badMessage: 414 for HttpChannelOverHttp@21df0b1d{r=69,c=false,a=IDLE,uri=} 09.03.2017 10:04:28.015 *WARN* [qtp2103505453-6000] org.eclipse.jetty.http.HttpParser badMessage: java.lang.IllegalStateException: too much data after closed for HttpChannelOverHttp@21df0b1d{r=69,c=true,a=COMPLETED,uri=}

 

How can I bypass this?

Thanks!

Replies

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

09-03-2017

This is more of a App server issue as opposed to a AEM issue. For example - see 

http://stackoverflow.com/questions/22654521/send-large-amount-of-text-to-servlet-via-form

Avatar

Avatar

TheBigRed

Avatar

TheBigRed

TheBigRed

10-03-2017

smacdonald2008 wrote...

This is more of a App server issue as opposed to a AEM issue. For example - see 

http://stackoverflow.com/questions/22654521/send-large-amount-of-text-to-servlet-via-form

 

 


Thanks Scott. However this is on my localhost, is there anyway I can change the jetty settings?

Thanks!

Avatar

Avatar

TheBigRed

Avatar

TheBigRed

TheBigRed

13-03-2017

Any help on this please?

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

13-03-2017

IS your servlet getting the data? Looks like the only thing here is the WARN in the log. 

Avatar

Avatar

TheBigRed

Avatar

TheBigRed

TheBigRed

13-03-2017

smacdonald2008 wrote...

IS your servlet getting the data? Looks like the only thing here is the WARN in the log. 

 

Nothing from the form submit is being passed to the servlet due to the the textarea field having a large block of text.

When the text is smaller, it get's passed.

Avatar

Avatar

Jdruwe

Avatar

Jdruwe

Jdruwe

14-02-2018

This also happens when you select a set amount (~+100)  of pages to publish (using quick publish). The error message is also empty for some reason:

Error message publishing.png

Publishing does not happen, I only see this in the logging:

14.02.2018 14:03:29.851 *WARN* [qtp2080390627-159638] org.eclipse.jetty.http.HttpParser URI is too large >16384

14.02.2018 14:03:29.852 *WARN* [qtp2080390627-159638] org.eclipse.jetty.http.HttpParser badMessage: 414 for HttpChannelOverHttp@a6d5d84{r=1,c=false,a=IDLE,uri=}

14.02.2018 14:03:29.852 *WARN* [qtp2080390627-159638] org.eclipse.jetty.http.HttpParser badMessage: java.lang.IllegalStateException: too much data after closed for HttpChannelOverHttp@a6d5d84{r=1,c=true,a=COMPLETED,uri=}