[
https://issues.apache.org/jira/browse/CXF-7988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16792180#comment-16792180
]
Andriy Redko commented on CXF-7988:
-----------------------------------
Hi [~romain.manni-bucau], sorry for delay, there are few causes for this issue,
it turned out to be very difficult to manage the AsyncContext completion across
different containers. I am wondering what version of Tomcat you are using
(https://bz.apache.org/bugzilla/show_bug.cgi?id=61886) and if there any errors
above or below this message (like network, client abort, etc), thanks.
> SSE sink warning on tomcat
> --------------------------
>
> Key: CXF-7988
> URL: https://issues.apache.org/jira/browse/CXF-7988
> Project: CXF
> Issue Type: Improvement
> Components: JAX-RS
> Affects Versions: 3.3.0
> Reporter: Romain Manni-Bucau
> Priority: Major
>
> Hi guys,
> I get regularly these warning using SSE on tomcat:
> {code}
> [cxf.jaxrs.sse.SseEventSinkImpl] Failed to close the AsyncContext cleanly:
> Calling [asyncComplete()] is not valid for a request with Async state
> [MUST_COMPLETE]
> {code}
> If it helps: I use a custom thread to send sse data
> (CompletableFuture.supplyAsync(() -> {...}, executor))
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)