[ 
https://issues.apache.org/jira/browse/TOMEE-2970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Richard Zowalla closed TOMEE-2970.
----------------------------------
    Fix Version/s: 11.0.0
       Resolution: Fixed

Fixed upstream in CXF: CXF 4.2.3, which ships with 11.0.0, logs these messages 
at FINE.

> 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
>             Fix For: 11.0.0
>
>
> The recent release of tomee 8.0.6 has a implementation of  JaxRS Server Sent 
> events (thankyou [~jgallimore])
>  
> 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.20.10#820010)

Reply via email to