[
https://issues.apache.org/jira/browse/TOMEE-2970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tony Weston updated TOMEE-2970:
-------------------------------
Component/s: TomEE Core Server
Examples and Documentation
Priority: Minor (was: Major)
> JaxRS Server Sent events implementation leaves lots of warning logs
> -------------------------------------------------------------------
>
> Key: TOMEE-2970
> URL: https://issues.apache.org/jira/browse/TOMEE-2970
> Project: TomEE
> Issue Type: Bug
> Components: Examples and Documentation, TomEE Core Server
> Affects Versions: 8.0.6
> Reporter: Tony Weston
> Priority: Minor
>
> The recent release of tomee 8.0.6 has a implementation of JaxRS Server Sent
> events.
> However, refreshing a browser, or moving from page to page which uses server
> sent event, will cause the following warnings to appear in the logs. I
> think it may be due to chrome not closing the Event Source, just terminating
> the tcpip/pipe. Adding eventSource.close() on pageUnload does not fix this.
> The same happens with Safari / Firefox.
> I don't think there is any way of suppressing these messages.
> Please reduce the level of these messages, maybe to FINE, or provide a way I
> can prevent these errors.
> Thanks.
>
> 13-Feb-2021 18:02:48.870 WARNING [http-nio-8080-exec-15]
> org.apache.cxf.jaxrs.sse.SseEventSinkImpl.dequeue Prematurely completing the
> AsyncContext due to error encountered:
> org.apache.catalina.connector.ClientAbortException: java.io.IOException:
> Broken pipe
> 13-Feb-2021 18:02:48.875 WARNING [http-nio-8080-exec-15]
> org.apache.cxf.jaxrs.sse.SseEventSinkImpl.dequeue Failed to close the
> AsyncContext cleanly: The request associated with the AsyncContext has
> already completed processing.
> 13-Feb-2021 18:02:48.875 WARNING [http-nio-8080-exec-15]
> org.apache.cxf.jaxrs.sse.SseEventSinkImpl.dequeue Prematurely completing the
> AsyncContext due to error encountered:
> org.apache.catalina.connector.ClientAbortException: java.io.IOException:
> Broken pipe
> 13-Feb-2021 18:02:48.876 WARNING [http-nio-8080-exec-15]
> org.apache.cxf.jaxrs.sse.SseEventSinkImpl.dequeue Prematurely completing the
> AsyncContext due to error encountered:
> org.apache.catalina.connector.ClientAbortException: java.io.IOException:
> Broken pipe
> 13-Feb-2021 18:02:48.867 WARNING [http-nio-8080-exec-18]
> org.apache.cxf.jaxrs.sse.SseEventSinkImpl.dequeue Prematurely completing the
> AsyncContext due to error encountered:
> org.apache.catalina.connector.ClientAbortException: java.io.IOException:
> Broken pipe
> 13-Feb-2021 18:02:48.871 WARNING [http-nio-8080-exec-13]
> org.apache.cxf.jaxrs.sse.SseEventSinkImpl.dequeue Prematurely completing the
> AsyncContext due to error encountered:
> org.apache.catalina.connector.ClientAbortException: java.io.IOException:
> Broken pipe
> 13-Feb-2021 18:02:48.879 WARNING [http-nio-8080-exec-18]
> org.apache.cxf.jaxrs.sse.SseEventSinkImpl.dequeue Failed to close the
> AsyncContext
--
This message was sent by Atlassian Jira
(v8.3.4#803005)