[jetty-users] how to resolve java.lang.IllegalStateException: REDISPATCHING, thanks

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jetty-users] how to resolve java.lang.IllegalStateException: REDISPATCHING, thanks

littlestar

I want to use jetty for async output, but there is a lot of java.lang.IllegalStateException.
TestServer.java is main class
TestClient.java is client test

Thanks.


2012-01-29 10:29:14.806:INFO:oejs.Server:jetty-7.6.0.v20120127
2012-01-29 10:29:14.946:INFO:oejs.AbstractConnector:Started [hidden email]
java.lang.IllegalStateException: REDISPATCHING,resumed
 at org.eclipse.jetty.server.AsyncContinuation.dispatch(AsyncContinuation.java:403)
 at org.eclipse.jetty.server.AsyncContinuation.resume(AsyncContinuation.java:810)
 at com.trs.tika.TestAsyncDeamon$TestAsyncRunnerThread.run(TestAsyncDeamon.java:50)
java.lang.IllegalStateException: REDISPATCHING,resumed
 at org.eclipse.jetty.server.AsyncContinuation.dispatch(AsyncContinuation.java:403)
 at org.eclipse.jetty.server.AsyncContinuation.resume(AsyncContinuation.java:810)
 at com.trs.tika.TestAsyncDeamon$TestAsyncRunnerThread.run(TestAsyncDeamon.java:50)
java.lang.IllegalStateException: REDISPATCHING,resumed
 at org.eclipse.jetty.server.AsyncContinuation.dispatch(AsyncContinuation.java:403)
 at org.eclipse.jetty.server.AsyncContinuation.resume(AsyncContinuation.java:810)
 at com.trs.tika.TestAsyncDeamon$TestAsyncRunnerThread.run(TestAsyncDeamon.java:50)
java.lang.IllegalStateException: REDISPATCHING,resumed
 at org.eclipse.jetty.server.AsyncContinuation.dispatch(AsyncContinuation.java:403)
 at org.eclipse.jetty.server.AsyncContinuation.resume(AsyncContinuation.java:810)
 at com.trs.tika.TestAsyncDeamon$TestAsyncRunnerThread.run(TestAsyncDeamon.java:50)
java.lang.IllegalStateException: REDISPATCHING,resumed

 

_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users

TestAsyncDeamon.java (1K) Download Attachment
TestAsyncServlet.java (3K) Download Attachment
TestClient.java (1K) Download Attachment
TestServer.java (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-users] how to resolve java.lang.IllegalStateException: REDISPATCHING, thanks

Jan Bartel-3
You are resuming the same continuation at least 10 times inside a loop.

Jan

On 29 January 2012 13:45, littlestar <[hidden email]> wrote:

> I want to use jetty for async output, but there is a lot of
> java.lang.IllegalStateException.
> TestServer.java is main class
> TestClient.java is client test
>
> Thanks.
>
> 2012-01-29 10:29:14.806:INFO:oejs.Server:jetty-7.6.0.v20120127
> 2012-01-29 10:29:14.946:INFO:oejs.AbstractConnector:Started
> SelectChannelConnector@0.0.0.0:8895
> java.lang.IllegalStateException: REDISPATCHING,resumed
>  at
> org.eclipse.jetty.server.AsyncContinuation.dispatch(AsyncContinuation.java:403)
>  at
> org.eclipse.jetty.server.AsyncContinuation.resume(AsyncContinuation.java:810)
>  at
> com.trs.tika.TestAsyncDeamon$TestAsyncRunnerThread.run(TestAsyncDeamon.java:50)
> java.lang.IllegalStateException: REDISPATCHING,resumed
>  at
> org.eclipse.jetty.server.AsyncContinuation.dispatch(AsyncContinuation.java:403)
>  at
> org.eclipse.jetty.server.AsyncContinuation.resume(AsyncContinuation.java:810)
>  at
> com.trs.tika.TestAsyncDeamon$TestAsyncRunnerThread.run(TestAsyncDeamon.java:50)
> java.lang.IllegalStateException: REDISPATCHING,resumed
>  at
> org.eclipse.jetty.server.AsyncContinuation.dispatch(AsyncContinuation.java:403)
>  at
> org.eclipse.jetty.server.AsyncContinuation.resume(AsyncContinuation.java:810)
>  at
> com.trs.tika.TestAsyncDeamon$TestAsyncRunnerThread.run(TestAsyncDeamon.java:50)
> java.lang.IllegalStateException: REDISPATCHING,resumed
>  at
> org.eclipse.jetty.server.AsyncContinuation.dispatch(AsyncContinuation.java:403)
>  at
> org.eclipse.jetty.server.AsyncContinuation.resume(AsyncContinuation.java:810)
>  at
> com.trs.tika.TestAsyncDeamon$TestAsyncRunnerThread.run(TestAsyncDeamon.java:50)
> java.lang.IllegalStateException: REDISPATCHING,resumed
>
>
>
> _______________________________________________
> jetty-users mailing list
> [hidden email]
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users