www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Spencer Nassar <spen...@showplace.com>
Subject mod_jserv/4462: HttpServlet.doPost fails with file - apj11: cannot scan servlet headers
Date Sun, 23 May 1999 22:27:39 GMT

>Number:         4462
>Category:       mod_jserv
>Synopsis:       HttpServlet.doPost fails with file - apj11: cannot scan servlet headers
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun May 23 15:30:01 PDT 1999
>Originator:     spencer@showplace.com
>Release:        1.3.6 + jserv 1.0b4
Linux 2.2.5-15
glibc (.6)
Apache 1.3.6
Jserv 1.0b4 (compiled in, not DSO)
Trying to send a file to the servlet by using a form 
with "input type = file".

If the "file" field is not left blank (ie. points to a 
valid file) the server returns the "Internal Server Error"
page and writes this error the the jserv error log:
  (EMERGENCY) ajp11: cannot scan servlet headers

I am successfully using doPost with the same test case
using Sun's JavaWebServer v1.1.3 on an NT box.
Create a form to post that has an input field of type "FILE".
Create a simple servlet that supports doPost.
If the form sends a FILE, you will see the server error and jserv log entry.
If you leave the FILE input blank you don't get an error.
See the jserv log file for:
  (EMERGENCY) ajp11: cannot scan servlet headers

[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]

View raw message