You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Brian Adams <ba...@AEM-TX.com> on 2002/02/12 20:32:51 UTC
RE: File upload problem
it can be a bug or not...
If you have tomcat running in stand alone(localhost:8080) as well as webapp
you can test the servlet by connecting directly to tomcat and see if it
works if it does, then you are probably affected by a webapp bug(the one you
read about)
B
-----Original Message-----
From: Miguel Angel Medina Lopez [mailto:mamedina@logic-factory.com]
Sent: Tuesday, February 12, 2002 1:36 PM
To: Tomcat Users
Subject: File upload problem
Hi all:
I'm using Tomcat 4.0.1 and Apache 1.3.23. Also I use oreilly
MultipartWrapper Class to parse multipart-form-data encoding. The problem is
that the next exception is thrown when I try to upload a file:
java.io.IOException: unexpected end of part
at
com.oreilly.servlet.multipart.PartInputStream.fill(PartInputStream.java:95)
at
com.oreilly.servlet.multipart.PartInputStream.read(PartInputStream.java:178)
Sometimes the file is uploaded but it's broken because the size isn't well,
it less than the original. I have read in the list that there was a bug int
the connectors, I'm using the module webapp-module-1.0.1-tc401 to connect
tomcat and apache. Is this a bug? How can I solve the problem?
Than you all.
-------------------------------------------------------------
Miguel Ángel Medina López
Logic Factory: www.logic-factory.com
Granada - España
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: File upload problem
Posted by Miguel Angel Medina Lopez <ma...@logic-factory.com>.
I have downloaded the last version of the webapp connector form the cvs,
however the problem persists. I'll have to go back to the version 3.2.3 of
Tomcat and use the old mod_jk connector thats work fine with the same
uploads. Any suggestion? Thank you
----- Original Message -----
From: "Craig Altenburg" <cr...@mindwrap.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Tuesday, February 12, 2002 10:03 PM
Subject: Re: File upload problem
> I have the same problem -- it seemd to go away in the beta of 4.0.2 -- I'm
> trying to get the final 4.0.2 up to see if that fixes the problem.
>
>
> On Tuesday 12 February 2002 03:01 pm, you wrote:
> > Hi:
> >
> > If I upload the files running tomcat stand alone all work fine. That's
the
> > reason to think is a connector problem, but I don't know how can I
solve
> > it or if exists a version of the connector that the repair the bug. I
need
> > help.
> >
> > Thanks.
> > -------------------------------------------------------------
> > Miguel Ángel Medina López
> > Logic Factory: www.logic-factory.com
> > Granada - España
> >
> >
> >
> > ----- Original Message -----
> > From: "Brian Adams" <ba...@AEM-TX.com>
> > To: "'Tomcat Users List'" <to...@jakarta.apache.org>
> > Sent: Tuesday, February 12, 2002 8:32 PM
> > Subject: RE: File upload problem
> >
> > > it can be a bug or not...
> > > If you have tomcat running in stand alone(localhost:8080) as well as
> >
> > webapp
> >
> > > you can test the servlet by connecting directly to tomcat and see if
it
> > > works if it does, then you are probably affected by a webapp bug(the
one
> >
> > you
> >
> > > read about)
> > > B
> > >
> > > -----Original Message-----
> > > From: Miguel Angel Medina Lopez [mailto:mamedina@logic-factory.com]
> > > Sent: Tuesday, February 12, 2002 1:36 PM
> > > To: Tomcat Users
> > > Subject: File upload problem
> > >
> > >
> > > Hi all:
> > >
> > > I'm using Tomcat 4.0.1 and Apache 1.3.23. Also I use oreilly
> > > MultipartWrapper Class to parse multipart-form-data encoding. The
problem
> >
> > is
> >
> > > that the next exception is thrown when I try to upload a file:
> > >
> > > java.io.IOException: unexpected end of part
> > > at
> >
> >
com.oreilly.servlet.multipart.PartInputStream.fill(PartInputStream.java:95)
> >
> > > at
> >
> >
com.oreilly.servlet.multipart.PartInputStream.read(PartInputStream.java:178
> >)
> >
> > > Sometimes the file is uploaded but it's broken because the size isn't
> >
> > well,
> >
> > > it less than the original. I have read in the list that there was a
bug
> >
> > int
> >
> > > the connectors, I'm using the module webapp-module-1.0.1-tc401 to
connect
> > > tomcat and apache. Is this a bug? How can I solve the problem?
> > >
> > > Than you all.
> > >
> > > -------------------------------------------------------------
> > > Miguel Ángel Medina López
> > > Logic Factory: www.logic-factory.com
> > > Granada - España
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe: <ma...@jakarta.apache.org>
> > > For additional commands: <ma...@jakarta.apache.org>
> > > Troubles with the list: <ma...@jakarta.apache.org>
> > >
> > > --
> > > To unsubscribe: <ma...@jakarta.apache.org>
> > > For additional commands: <ma...@jakarta.apache.org>
> > > Troubles with the list: <ma...@jakarta.apache.org>
>
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: File upload problem
Posted by Craig Altenburg <cr...@mindwrap.com>.
I have the same problem -- it seemd to go away in the beta of 4.0.2 -- I'm
trying to get the final 4.0.2 up to see if that fixes the problem.
On Tuesday 12 February 2002 03:01 pm, you wrote:
> Hi:
>
> If I upload the files running tomcat stand alone all work fine. That's the
> reason to think is a connector problem, but I don't know how can I solve
> it or if exists a version of the connector that the repair the bug. I need
> help.
>
> Thanks.
> -------------------------------------------------------------
> Miguel Ángel Medina López
> Logic Factory: www.logic-factory.com
> Granada - España
>
>
>
> ----- Original Message -----
> From: "Brian Adams" <ba...@AEM-TX.com>
> To: "'Tomcat Users List'" <to...@jakarta.apache.org>
> Sent: Tuesday, February 12, 2002 8:32 PM
> Subject: RE: File upload problem
>
> > it can be a bug or not...
> > If you have tomcat running in stand alone(localhost:8080) as well as
>
> webapp
>
> > you can test the servlet by connecting directly to tomcat and see if it
> > works if it does, then you are probably affected by a webapp bug(the one
>
> you
>
> > read about)
> > B
> >
> > -----Original Message-----
> > From: Miguel Angel Medina Lopez [mailto:mamedina@logic-factory.com]
> > Sent: Tuesday, February 12, 2002 1:36 PM
> > To: Tomcat Users
> > Subject: File upload problem
> >
> >
> > Hi all:
> >
> > I'm using Tomcat 4.0.1 and Apache 1.3.23. Also I use oreilly
> > MultipartWrapper Class to parse multipart-form-data encoding. The problem
>
> is
>
> > that the next exception is thrown when I try to upload a file:
> >
> > java.io.IOException: unexpected end of part
> > at
>
> com.oreilly.servlet.multipart.PartInputStream.fill(PartInputStream.java:95)
>
> > at
>
> com.oreilly.servlet.multipart.PartInputStream.read(PartInputStream.java:178
>)
>
> > Sometimes the file is uploaded but it's broken because the size isn't
>
> well,
>
> > it less than the original. I have read in the list that there was a bug
>
> int
>
> > the connectors, I'm using the module webapp-module-1.0.1-tc401 to connect
> > tomcat and apache. Is this a bug? How can I solve the problem?
> >
> > Than you all.
> >
> > -------------------------------------------------------------
> > Miguel Ángel Medina López
> > Logic Factory: www.logic-factory.com
> > Granada - España
> >
> >
> >
> >
> > --
> > To unsubscribe: <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
> >
> > --
> > To unsubscribe: <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: File upload problem
Posted by Miguel Angel Medina Lopez <ma...@logic-factory.com>.
Hi:
If I upload the files running tomcat stand alone all work fine. That's the
reason to think is a connector problem, but I don't know how can I solve it
or if exists a version of the connector that the repair the bug. I need
help.
Thanks.
-------------------------------------------------------------
Miguel Ángel Medina López
Logic Factory: www.logic-factory.com
Granada - España
----- Original Message -----
From: "Brian Adams" <ba...@AEM-TX.com>
To: "'Tomcat Users List'" <to...@jakarta.apache.org>
Sent: Tuesday, February 12, 2002 8:32 PM
Subject: RE: File upload problem
> it can be a bug or not...
> If you have tomcat running in stand alone(localhost:8080) as well as
webapp
> you can test the servlet by connecting directly to tomcat and see if it
> works if it does, then you are probably affected by a webapp bug(the one
you
> read about)
> B
>
> -----Original Message-----
> From: Miguel Angel Medina Lopez [mailto:mamedina@logic-factory.com]
> Sent: Tuesday, February 12, 2002 1:36 PM
> To: Tomcat Users
> Subject: File upload problem
>
>
> Hi all:
>
> I'm using Tomcat 4.0.1 and Apache 1.3.23. Also I use oreilly
> MultipartWrapper Class to parse multipart-form-data encoding. The problem
is
> that the next exception is thrown when I try to upload a file:
>
> java.io.IOException: unexpected end of part
> at
>
com.oreilly.servlet.multipart.PartInputStream.fill(PartInputStream.java:95)
> at
>
com.oreilly.servlet.multipart.PartInputStream.read(PartInputStream.java:178)
>
> Sometimes the file is uploaded but it's broken because the size isn't
well,
> it less than the original. I have read in the list that there was a bug
int
> the connectors, I'm using the module webapp-module-1.0.1-tc401 to connect
> tomcat and apache. Is this a bug? How can I solve the problem?
>
> Than you all.
>
> -------------------------------------------------------------
> Miguel Ángel Medina López
> Logic Factory: www.logic-factory.com
> Granada - España
>
>
>
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>