Yes, I removed the context.complete() from onError, but still have the same
issue.

The problem is I suppose onError should not be called, I do not find any
reason why the code goes to onError path.

On Thu, Sep 10, 2015 at 7:50 AM, Simone Bordet <[email protected]> wrote:

> Hi,
>
> On Thu, Sep 10, 2015 at 12:34 AM, Xiaodong Wang <[email protected]>
> 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(HttpOutput.java:990)
>
> We can certainly handle this better, perhaps with a no-op.
> I'll look into it.
>
> --
> Simone Bordet
> ----
> http://cometd.org
> http://webtide.com
> Developer advice, training, services and support
> from the Jetty & CometD experts.
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to