I have a problem with a server, written in Java, running on Tomcat, serving video files. I didn't write the code and have very little familiarity with the libraries involved in this problem, so any ideas to pursue would be much appreciated :)
The videos in question work fine when you save them to disk from your browser and then play them.
However, when you try to view one using a video-playing browser plugin (doesn't seem to matter which plugin ... WMP for either FF or IE, VLC in FF, doesn't matter which browser version either), it all goes wrong. From the browser end, no data seems to reach the plugin (so the VLC plugin, for example, just says "waiting for video" ... it never arrives).
On the server end, there's an HttpServletResponse instance, it calls getOutputStream on this, writes the data to the stream with no problem, and then an exception is thrown when closing the stream.
The exception stack trace is as follows:
java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:750)
at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:347)
Any ideas? :)