Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
take a look at this post from serverfault. it seems to be the same problem. for quick reference: the link to the bug report mentioned in the post. – Christian Jan 20 '10 at 20:36
This is a rewording of that problem, and the provided bugfix does not work. I'm hoping someone else has an actual solution to this specific issue. – Stefan Kendall Jan 20 '10 at 22:56
up vote 0 down vote accepted

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.