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 <[email protected]> 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 > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users -- Jan Bartel <[email protected]> www.webtide.com – Developer advice, services and support from the Jetty & CometD experts. _______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
