----------------------------------------------------------------
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!!!
----------------------------------------------------------------
I went and changed the jserv.properties file to:
#wrapper.bin=d:\jdk1.2.2\bin\java.exe -Xms10000000
wrapper.bin=d:\jdk1.2.2\bin\java.exe -Xms80m -Xmx200m
I still get the same error:
[29/08/2000 09:02:35:578 CDT] AJP Protocol Error: java.io.IOException:
Stream closed prematurely
Stack Trace:
Error (Tue Aug 29 09:02:31 CDT 2000)
Severity: Critical!
Application Message: Exception thrown to servlet.
Exception Message: null
Stack Trace: java.lang.ArrayIndexOutOfBoundsException
at javax.servlet.ServletInputStream.readLine(ServletInputStream.java,
Compiled Code)
at
com.algx.portal.MultipartInputStreamHandler.readLine(MultipartRequest.java,
Compiled Code)
at com.algx.portal.MultipartRequest.readFile(MultipartRequest.java,
Compiled Code)
at com.algx.portal.MultipartRequest.readNextPart(MultipartRequest.java:404)
at com.algx.portal.MultipartRequest.readRequest(MultipartRequest.java,
Compiled Code)
at com.algx.portal.MultipartRequest.<init>(MultipartRequest.java:140)
at com.algx.portal.MultipartRequest.<init>(MultipartRequest.java:110)
at com.algx.portal.user.RequestParser.<init>(PortalData.java, Compiled
Code)
at com.algx.portal.user.PortalData.updateRequest(PortalData.java:185)
at com.algx.portal.user.PortalData.updateRequest(PortalData.java:171)
at com.algx.portal.Portal.doGet(Portal.java:159)
at com.algx.portal.Portal.doPost(Portal.java:308)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:521)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
at org.apache.jserv.JServConnection.run(JServConnection.java:188)
at java.lang.Thread.run(Thread.java:479)
My environment is:
Apache Web Server 1.3.9
JServ 1.1
NT 4.0
----- Original Message -----
From: "Joseph Shraibman" <[EMAIL PROTECTED]>
To: "Java Apache Users" <[EMAIL PROTECTED]>
Sent: Monday, August 28, 2000 7:22 PM
Subject: Re: Document Upload
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
> Probably the stack size in your jvm defaults to 1 meg, and you are
> trying to pass the whole file as an argument.
>
> > Chandra Gottipati wrote:
> >
> >
> >
> > I am trying to upload a document which is about 1.5 Meg in size. My
> > Apcahe server crashes and I see this in my jserv.log:
> >
> > [28/08/2000 16:09:06:765 CDT] AJP Protocol Error: java.io.IOException:
> > Stream closed prematurely.
> >
> > It works fine for files less than 1 Meg in size. I was wondering if
> > there was a size limit in JServ.
> >
> > My environment is Apache Web Server 1.3 and JServ 1.1.
> >
> > Thanks.
> >
> > Chandra.
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search Archives:
> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
>
>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]