All-
 
I've posted this problem before, because it involves file uploads PLEASE do not flip the bozo bit and ignore this post.  I have a file that is roughly 100K.  Within the file there is some magic sequence of characters that causes JServ to crash, but only when the file has more than 102398 characters.  I have the file if anyone is interested.  It is one of the strangest things I have ever seen.
 
I was testing on win32 apache 1.3.9 + JServ1.0 & JServ1.1b3.  I have reason to think that this is also happening on my Solaris box.
 
Here are the errors I get:
 
from apache:
[Fri Oct 29 19:18:22 1999] [error] [client 127.0.0.1] Premature end of script headers: /servlets/FileUpload
 
from JServ (don't let this fool you, happens regardless of the servlet used to upload the file):
[30/10/1999 00:19:09:125] (ERROR) ajp12: Servlet Error: java.lang.ArrayIndexOutOfBoundsException: null
[30/10/1999 00:19:09:125] (ERROR) an error returned handling request via protocol "ajpv12"
 
I think that this may be caused by the bgets call used to read in the request, but I could be wrong.  If anyone has any idea what may be happening here, please help me.  I'll fix it myself if someone can tell me what is going on.
 
Regards,
-Justin
 
Justin D. Call
Chief Technologist
ThoughtStar, Inc.
http://www.thoughtstar.com
http://www.quickteam.com
email:   [EMAIL PROTECTED]
phone: 801-255-4700 x709
smail:  45 W. 10000 S. #415
           Sandy, UT 84070

Reply via email to