I am streaming data from a Tomcat server through a WebSocket to the browser.
I am also making several AJAX calls to the Tomcat server.
I have definite log proof that the AJAX response data is being comingled into the WebSocket. Is there a bug on Tomcat?
Both the AJAX calls and the WebSocket are running on the same port (8080 defined in the server.xml). According to another StackOverflow post, running them both on the same port is a good idea: Shall I use WebSocket on ports other than 80?