Expand my Community achievements bar.

Sending large text to servlet

Avatar

Level 5

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!

6 Replies

Avatar

Level 5

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

Level 10

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

Avatar

Level 5

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

Level 5

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=}