----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
The com.oreilly.servlet classes have defaults set to
how large the file to be uploaded is allowed. You may
override them.
--- Martijn van Berkum <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> We're using jserv for half a year without problems,
> but one of our customers
> found out it wasn't possible to upload large files
> using multipart/formdata
> (file upload forms). I traced it down to the
> following errors in
> mod_jserv.log:
>
> [09/01/2000 16:17:08:467] (EMERGENCY) ajp11: cannot
> scan servlet headers
> [09/01/2000 16:17:08:467] (ERROR) an error returned
> handling request via
> protocol "ajpv11"
>
> The http error logfile said:
> [Sun Jan 9 16:17:08 2000] [error] [client
> 192.168.1.30] Premature end of
> script headers:
> /servlet/nl.gx.research.client.http.EditObject
>
> This only happens with some files larger then a few
> hunderd kb's. Anyone
> experience or advice on this? Does it have anything
> to do with the
> ServletInputStream? We use
>
http://www.servlets.com/resources/com.oreilly.servlet/MultipartRequest.html
> for parsing the uploaded file..
>
>
> BTW : using Linux Redhat 5.0, apache 1.3.9, Jserv
> 1.0.
>
> Tia,
>
> Martijn
=====
# Nick Bauman
# Technical Programmer
# http://webhelp.com
# real people, real answers, real time
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]