For some reason, my tomcat deployment begins throwing
BadFileNumber exceptions when a large file (>1MB) is served over high load. I'm using
JRE 1.6.0_17 with
Tomcat 6.0.14. What could possibly cause tomcat to serve bad files under high load for large files?
A fix for this issue has been added to the 6.0.x and 5.5.x source line. This was fixed in glassfish, but it was never backported to Tomcat.