Hello, the details description of the issue can be found here: http://stackoverflow.com/questions/43235402/server-sent-events-with-apache-and-wildfly
The problem is, that when Apache as a proxy server and Wildfly as a backend server are configured to use ajp connector, than connection to "server sent events" cannot be established.
Here are headers that server sends back in this case:
Cache-Control:no-cache
Connection:keep-alive
Content-Type:text/event-stream;charset=UTF-8
Date:Fri, 31 Mar 2017 12:11:38 GMT
Transfer-Encoding:chunked
But it works fine, as soon as I switch them to use http connector.