Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] Eclipse Jetty 9.4.38, 10.0.1, and 11.0.1 Have Been Released!

Thanks Simone, it helped. However I need to add <async-supported>true</async-supported> for all the filters in my web.xml.

On Fri, Mar 19, 2021 at 12:41 PM Simone Bordet <sbordet@xxxxxxxxxxx> wrote:
Hi,

On Fri, Mar 19, 2021 at 10:13 AM Jayaprakash Patil
<jayaprakash.patil@xxxxxxxxx> wrote:
>
> I am making a simple ajax call to fetch data from API from my _javascript_ file.
>
> "$.ajax({type: 'GET', url: url, accept: 'application/json', success: onSuccess, error: _.isUndefined(onError) ? ajaxError : onError});"
>
> It used to work in jetty 8. But once we have upgraded to jetty9, we are facing this error :
> java.lang.IllegalStateException: !asyncSupported: utf8EnforcingFilter
>         at org.eclipse.jetty.server.Request.startAsync(Request.java:2248)
>         at org.eclipse.jetty.continuation.Servlet3Continuation.suspend(Servlet3Continuation.java:188)
>         at org.eclipse.jetty.servlets.ProxyServlet.service(ProxyServlet.java:659)
>         at omaelisa.servlet.TransparentHttpProxyServlet.service(TransparentHttpProxyServlet.java:45)
>         at omaelisa.util.stats.ProcessingTimeInterceptor.invoke(ProcessingTimeInterceptor.java:28)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
>
> Any help here . Let me know what config that I need to change to make it working again.

One of your server-side filters, named utf8EnforcingFilter, does not
have the required

<async-supported>true</async-supported>

element in web.xml.

--
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.
_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jetty-dev

Back to the top