Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.io.IOException might be thrown during AsyncContext.complete() #17294

Closed
wtlucy opened this issue May 25, 2021 · 0 comments · Fixed by #17209
Closed

java.io.IOException might be thrown during AsyncContext.complete() #17294

wtlucy opened this issue May 25, 2021 · 0 comments · Fixed by #17209
Assignees
Labels
in:Web Components release bug This bug is present in a released version of Open Liberty release:21006 team:Sirius

Comments

@wtlucy
Copy link
Contributor

wtlucy commented May 25, 2021

In very rare cases, an IOException can be thrown after an app invokes AsyncContext.complete() before Liberty has fully read the request's input stream. In general this issue does not affect application behavior. Example stack:

>Source = com.ibm.ws.http.channel.internal.inbound.HttpInboundServiceContextImpl.getRequestBodyBuffer
>probeid = 1436
>Stack Dump = java.io.IOException: Request not read yet
>    at com.ibm.ws.http.channel.internal.inbound.HttpInboundServiceContextImpl.getRequestBodyBuffer(HttpInboundServiceContextImpl.java:1489)
>    at com.ibm.ws.http.channel.internal.inbound.HttpInputStreamImpl.getBufferFromChannel(HttpInputStreamImpl.java:244)
>    at com.ibm.ws.http.channel.internal.inbound.HttpInputStreamImpl.readRemainingFromChannel(HttpInputStreamImpl.java:213)
>    at com.ibm.ws.http.channel.internal.inbound.HttpInputStreamImpl.checkMultiReadBuffer(HttpInputStreamImpl.java:167)
>    at com.ibm.ws.http.channel.internal.inbound.HttpInputStreamImpl.checkBuffer(HttpInputStreamImpl.java:128)
>    at com.ibm.wsspi.http.ee7.HttpInputStreamEE7.isFinished(HttpInputStreamEE7.java:155)
>    at com.ibm.ws.webcontainer31.srt.SRTInputStream31.isFinished(SRTInputStream31.java:105)
>    at com.ibm.ws.webcontainer31.async.AsyncReadCallback.complete(AsyncReadCallback.java:125)
>    at com.ibm.ws.http.channel.internal.HttpServiceContextImpl.continueRead(HttpServiceContextImpl.java:5142)
>    at com.ibm.ws.http.channel.internal.inbound.HttpISCBodyReadCallback.complete(HttpISCBodyReadCallback.java:63)
...
@wtlucy wtlucy added in:Web Components release bug This bug is present in a released version of Open Liberty team:Sirius labels May 25, 2021
@wtlucy wtlucy self-assigned this May 25, 2021
@wtlucy wtlucy added this to General Issues in Web Tier Team via automation May 25, 2021
Web Tier Team automation moved this from General Issues to Completed Tasks May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in:Web Components release bug This bug is present in a released version of Open Liberty release:21006 team:Sirius
Projects
Archived in project
Web Tier Team
  
Completed Tasks
Development

Successfully merging a pull request may close this issue.

2 participants