Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Continuation support in 9.0.4

Hi Marty,

According to the servlet 3.0 spec, a servlet must have asyncSupported
set to true either in the annotation that defines it or in web.xml for
async processing to be allowed.

cheers
Jan

On 13 July 2013 00:07, Marty Stich <mstich@xxxxxxxxxx> wrote:
> I recently moved from 9.0.3 to 9.0.4 and am now running into a problem using the jetty Continuation support.
>
> When I call continuation.suspend() in my HttpServlet.doGet, I now get the following exception:
>
> java.lang.IllegalStateException: !asyncSupported
>         at org.eclipse.jetty.server.Request.startAsync(Request.java:2016)
>         at org.eclipse.jetty.continuation.Servlet3Continuation.suspend(Servlet3Continuation.java:170)
>
> I suspect this behavor change is related to the bug fix 408117 which went into 9.0.4.
>
> I'm not sure why asyncSupported is being set to false.  Any pointers/help would be appreciated.
>
> Regards,
> Marty Stich
>
>
>
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users



-- 
Jan Bartel <janb@xxxxxxxxxxx>
www.webtide.com – Developer advice, services and support
from the Jetty & CometD experts.


Back to the top