Refers to the state tracking in HttpChannelState .

See
https://github.com/eclipse/jetty.project/blob/master/jetty-server/src/main/java/org/eclipse/jetty/server/HttpChannelState.java#L161-L167

s = state
i = initial
a = async

--
Joakim Erdfelt <[email protected]>
webtide.com <http://www.webtide.com/> - intalio.com/jetty
Expert advice, services and support from from the Jetty & CometD experts
eclipse.org/jetty - cometd.org


On Mon, Jan 6, 2014 at 11:13 AM, Gaurav Kumar <[email protected]>wrote:

> I found the root cause of the issue- a buggy section of the code was
> completing the async context and when other sections of the code were
> trying to access the context (which is now complete), 
> "java.lang.IllegalStateException:
> s=ASYNCIO i=false a=COMPLETE" is thrown. Makes sense. I am still curious to
> know what does "s", "i" and "a" stand for?
>
> I am using Jetty v9.1.0.v20131115. Complete stacktrace:
>
> java.lang.IllegalStateException: s=ASYNCIO i=false a=COMPLETE
>  at
> org.eclipse.jetty.server.HttpChannelState.complete(HttpChannelState.java:430)
> at
> org.eclipse.jetty.server.AsyncContextState.complete(AsyncContextState.java:92)
>  at com.mycompany
> .StandardDataStream.onWritePossible(StandardDataStream.java:52)
>  at org.eclipse.jetty.server.HttpOutput.run(HttpOutput.java:673)
> at
> org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1159)
>  at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334)
> at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:238)
>  at
> org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1159)
>  at
> org.eclipse.jetty.server.HttpChannelState.complete(HttpChannelState.java:440)
> at
> org.eclipse.jetty.server.AsyncContextState.complete(AsyncContextState.java:92)
>  at
> com.mycompany.ClientAsyncRequestProcessor.run(ClientAsyncRequestProcessor.java:112)
>  at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>  at java.lang.Thread.run(Thread.java:744)
>
>
>
> On Sun, Jan 5, 2014 at 7:31 PM, Joakim Erdfelt <[email protected]> wrote:
>
>> With Jetty 9.1.0 its likely from 
>> HttpChannelState.getStatusString()<https://github.com/eclipse/jetty.project/blob/master/jetty-server/src/main/java/org/eclipse/jetty/server/HttpChannelState.java#L161-L167>,
>> but without more context of your stacktrace, it would be hard to explain
>> what is going on.
>>
>> --
>> Joakim Erdfelt <[email protected]>
>> webtide.com <http://www.webtide.com/> - intalio.com/jetty
>> Expert advice, services and support from from the Jetty & CometD experts
>> eclipse.org/jetty - cometd.org
>>
>>
>> On Sun, Jan 5, 2014 at 8:25 PM, Joakim Erdfelt <[email protected]>wrote:
>>
>>> Also, we need *MUCH* more context for that particular exception.
>>> Such as more lines of the stacktrace.  As an IllegalStateException
>>> depends heavily on what was going on.
>>>
>>> --
>>> Joakim Erdfelt <[email protected]>
>>> webtide.com <http://www.webtide.com/> - intalio.com/jetty
>>> Expert advice, services and support from from the Jetty & CometD experts
>>> eclipse.org/jetty - cometd.org
>>>
>>>
>>> On Sun, Jan 5, 2014 at 6:19 PM, Gaurav Kumar <[email protected]>wrote:
>>>
>>>> As per subject, what does java.lang.IllegalStateException: s=ASYNCIO
>>>> i=false a=COMPLETE mean? What does "s", "i" and "a" stand for?
>>>>
>>>> I am getting this error message intermittently.
>>>>
>>>> Thanks,
>>>> Gaurav
>>>>
>>>>
>>>> _______________________________________________
>>>> jetty-users mailing list
>>>> [email protected]
>>>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> jetty-users mailing list
>> [email protected]
>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>
>>
>
> _______________________________________________
> jetty-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
>
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to