You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by cs...@aias.gr on 2002/02/05 09:55:07 UTC

TurbineUpload: error if file exceeds maximum size

Hi,
I use succesfully the TurbineUploadService of Turbine but I have an error
that I cannot overcome:
When the file size is bigger than the max.size (as set it TR.props), 
TurbineUpload
correctly throws a TurbineException to indicate that; but the browser report a 
network
error! Netscape pops-up a system dialog box (Network error) while explorer 
returns
the "Cannot find server" error page. I assume, that somehow, browsers expect 
that the
stream (that has been partially been read, until the header that denotes the 
file size)
must be fully read by the server and if not, they interpret that as a 
(network?) error.
Is that correct? Has anybody else had the same problem?

What I am trying to do is catch this exception and return an error page, but 
after that
exception, the broswers ignore any further response...

Thanks for your help,
Costas


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: TurbineUpload: error if file exceeds maximum size

Posted by Costas Stergiou <cs...@hq.acn.gr>.
No,
I am just using tomcat3.2.3 on my localhost and still doesn't work!

----- Original Message -----
From: "Gareth Coltman" <ga...@majorband.co.uk>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Tuesday, February 05, 2002 11:52 AM
Subject: RE: TurbineUpload: error if file exceeds maximum size


> I had exactly his error using turbine with tomcat 3.2.3 and apache over
AJP
> 12. It is something to do with the connector I believe. Never managed to
fix
> it though. Sorry -  not much help I know but would be v. interested if u
> manage to fix it! Are you using a similar configuration?
>
> Gareth
>
> > -----Original Message-----
> > From: csterg@aias.gr [mailto:csterg@aias.gr]
> > Sent: 05 February 2002 08:55
> > To: turbine-user@jakarta.apache.org
> > Subject: TurbineUpload: error if file exceeds maximum size
> >
> >
> > Hi,
> > I use succesfully the TurbineUploadService of Turbine but I have an
error
> > that I cannot overcome:
> > When the file size is bigger than the max.size (as set it TR.props),
> > TurbineUpload
> > correctly throws a TurbineException to indicate that; but the
> > browser report a
> > network
> > error! Netscape pops-up a system dialog box (Network error) while
> > explorer
> > returns
> > the "Cannot find server" error page. I assume, that somehow,
> > browsers expect
> > that the
> > stream (that has been partially been read, until the header that
> > denotes the
> > file size)
> > must be fully read by the server and if not, they interpret that as a
> > (network?) error.
> > Is that correct? Has anybody else had the same problem?
> >
> > What I am trying to do is catch this exception and return an
> > error page, but
> > after that
> > exception, the broswers ignore any further response...
> >
> > Thanks for your help,
> > Costas
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: TurbineUpload: error if file exceeds maximum size

Posted by Gareth Coltman <ga...@majorband.co.uk>.
I had exactly his error using turbine with tomcat 3.2.3 and apache over AJP
12. It is something to do with the connector I believe. Never managed to fix
it though. Sorry -  not much help I know but would be v. interested if u
manage to fix it! Are you using a similar configuration?

Gareth

> -----Original Message-----
> From: csterg@aias.gr [mailto:csterg@aias.gr]
> Sent: 05 February 2002 08:55
> To: turbine-user@jakarta.apache.org
> Subject: TurbineUpload: error if file exceeds maximum size
>
>
> Hi,
> I use succesfully the TurbineUploadService of Turbine but I have an error
> that I cannot overcome:
> When the file size is bigger than the max.size (as set it TR.props),
> TurbineUpload
> correctly throws a TurbineException to indicate that; but the
> browser report a
> network
> error! Netscape pops-up a system dialog box (Network error) while
> explorer
> returns
> the "Cannot find server" error page. I assume, that somehow,
> browsers expect
> that the
> stream (that has been partially been read, until the header that
> denotes the
> file size)
> must be fully read by the server and if not, they interpret that as a
> (network?) error.
> Is that correct? Has anybody else had the same problem?
>
> What I am trying to do is catch this exception and return an
> error page, but
> after that
> exception, the broswers ignore any further response...
>
> Thanks for your help,
> Costas
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>