my dog learned polymorphism*
The moose likes Tomcat and the fly likes tomcat access log shows 0 bytes sent ( Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat access log shows 0 bytes sent ("-") for big files" Watch "tomcat access log shows 0 bytes sent ("-") for big files" New topic
Author

tomcat access log shows 0 bytes sent ("-") for big files

Stu Thompson
Hooplehead
Ranch Hand

Joined: Jun 14, 2006
Posts: 136
Hi all,

Got a little problem I am a bit preplexed about. We are running Tomcat 5.5.17 on Widows Server 2003. Everything is up and running and working just fine.

BUT...the access logs show that large static media files (from low MB to maybe 20mb) being served up HTTP 200 OK with "-" (zero) bytes sent. This is jut not correct. Effected are all .flv and most all .mp3 files. Log format is 'combined'.



Can anybody help? Even 'try researching X' would help at this point...my hours spent on google have been useless.

tia,

Stu

[ September 10, 2006: Message edited by: Stu Thompson ]
[ September 10, 2006: Message edited by: Stu Thompson ]

"This is not to say that design is unnecessary. But after a certain point, design is just speculation." --Philip Chu
Stu Thompson
Hooplehead
Ranch Hand

Joined: Jun 14, 2006
Posts: 136
Update: This is only happening on one of three servers, which stupifies me even more.

Any help would be more than welcome!

Stu
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Are the files actually making it to the browser?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Stu Thompson
Hooplehead
Ranch Hand

Joined: Jun 14, 2006
Posts: 136
Yup, all works ok. I specifically cleared my cache and watched it download a 20mb file over a few minutes...and still see - for the bytes sent value.
[ September 11, 2006: Message edited by: Stu Thompson ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat access log shows 0 bytes sent ("-") for big files
 
Similar Threads
defualt multiplicity is 1 or 1..many?
Tomcat 'internal URL rewrite' strategies
what is the scope of the string pool?
Windows Authentication Using Tomcat 5.0
How to check Tomcat Exceptions?