Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Fwd: IllegalStateException when using asynchronous servlet


On Thu, Sep 10, 2015 at 12:34 AM, Xiaodong Wang <xiaodongw79@xxxxxxxxx> wrote:
> Hi Joakim,
> Thanks for your response, I changed the code as you suggested but it still
> does not work. But it works in Tomcat.

Have you removed the call to context.complete() from onError() ?

> This is the error I got.
> [qtp990355670-43] WARN org.eclipse.jetty.util.thread.QueuedThreadPool -
> java.lang.IllegalStateException
> at
> org.eclipse.jetty.server.HttpOutput$AsyncICB.onCompleteSuccess(

We can certainly handle this better, perhaps with a no-op.
I'll look into it.

Simone Bordet
Developer advice, training, services and support
from the Jetty & CometD experts.

Back to the top