You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tom Lyle <to...@limehouse.co.uk> on 2003/09/03 16:53:08 UTC

File upload Bug?

Hi All,

I'm using the o'reilly mutipart request classes to upload files using a
servlet and its happily working using Tomcat 4.1.18. However, i've upgraded
to the tomcat 4.1.27 and a certain file (just a jpg) causes the upload to
fail with an java.io.IOException: unexpected end of part. Now i can upload
this file to the webapp running on Tomcat 4.1.18 but not to the same webapp
running on 4.1.27. What gives?

Running on Windows 2000
with sun jdk1.4.1

Tom


Any Recommended Java/Servlet Books

Posted by Jim Si <Ji...@CalgaryHealthRegion.ca>.
Hello Everyone,

Could you mention some good reference book related to java servlets?  In
addition,  any java books related to the Multimedia like showing pictures,
playing videos and etc.

Thank you.


Re: File upload Bug?

Posted by Remy Maucherat <re...@jboss.org>.
Tom Lyle wrote:

> I've just realised something. The machine thats running Tomcat 4.1.27 is
> serving the pages with IIS and isapi_redirector2.dll, when i connect
> directly to Tomcat via port 8080 it works fine.
> 
> Right, i've just searched the archives and found 2 people posting (much more
> elequently) the same problem but no solution. Does anyone know how to fix
> this?

A BZ entry on this problem already exists:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21616

-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Rémy Maucherat
Senior Developer & Consultant
JBoss Group (Europe) SàRL
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx


RE: File upload Bug?

Posted by Tom Lyle <to...@limehouse.co.uk>.
I've just realised something. The machine thats running Tomcat 4.1.27 is
serving the pages with IIS and isapi_redirector2.dll, when i connect
directly to Tomcat via port 8080 it works fine.

Right, i've just searched the archives and found 2 people posting (much more
elequently) the same problem but no solution. Does anyone know how to fix
this?

thanks

Tom

> -----Original Message-----
> From: Tom Lyle [mailto:toml@limehouse.co.uk]
> Sent: 03 September 2003 15:53
> To: Tomcat Users List
> Subject: File upload Bug?
>
>
> Hi All,
>
> I'm using the o'reilly mutipart request classes to upload files using a
> servlet and its happily working using Tomcat 4.1.18. However,
> i've upgraded
> to the tomcat 4.1.27 and a certain file (just a jpg) causes the upload to
> fail with an java.io.IOException: unexpected end of part. Now i can upload
> this file to the webapp running on Tomcat 4.1.18 but not to the
> same webapp
> running on 4.1.27. What gives?
>
> Running on Windows 2000
> with sun jdk1.4.1
>
> Tom
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>


RE: File upload Bug?

Posted by Tom Lyle <to...@limehouse.co.uk>.
im on Windows 2000 server. It seems to be a bug in isapi_redirect2.dll. Any
thoughts anyone?

> -----Original Message-----
> From: Andy Eastham [mailto:andy@barllama.demon.co.uk]
> Sent: 03 September 2003 16:23
> To: Tomcat Users List
> Subject: RE: File upload Bug?
>
>
> Tom,
>
> I found that the O'Reilly classes were totally unreliable on Solaris with
> binary uploads and mod_webapp.
>
> However, I They work fine on windows and Linux, and luckily I've
> not needed
> them on a Solaris deployment.
>
> I think decided it was actually caused by a bug in Solaris
> mod_webapp - are
> you using this?
>
> Andy
>
> > -----Original Message-----
> > From: Tom Lyle [mailto:toml@limehouse.co.uk]
> > Sent: 03 September 2003 15:53
> > To: Tomcat Users List
> > Subject: File upload Bug?
> >
> >
> > Hi All,
> >
> > I'm using the o'reilly mutipart request classes to upload files using a
> > servlet and its happily working using Tomcat 4.1.18. However,
> > i've upgraded
> > to the tomcat 4.1.27 and a certain file (just a jpg) causes the
> upload to
> > fail with an java.io.IOException: unexpected end of part. Now i
> can upload
> > this file to the webapp running on Tomcat 4.1.18 but not to the
> > same webapp
> > running on 4.1.27. What gives?
> >
> > Running on Windows 2000
> > with sun jdk1.4.1
> >
> > Tom
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>


RE: File upload Bug?

Posted by Andy Eastham <an...@barllama.demon.co.uk>.
Tom,

I found that the O'Reilly classes were totally unreliable on Solaris with
binary uploads and mod_webapp.

However, I They work fine on windows and Linux, and luckily I've not needed
them on a Solaris deployment.

I think decided it was actually caused by a bug in Solaris mod_webapp - are
you using this?

Andy

> -----Original Message-----
> From: Tom Lyle [mailto:toml@limehouse.co.uk]
> Sent: 03 September 2003 15:53
> To: Tomcat Users List
> Subject: File upload Bug?
>
>
> Hi All,
>
> I'm using the o'reilly mutipart request classes to upload files using a
> servlet and its happily working using Tomcat 4.1.18. However,
> i've upgraded
> to the tomcat 4.1.27 and a certain file (just a jpg) causes the upload to
> fail with an java.io.IOException: unexpected end of part. Now i can upload
> this file to the webapp running on Tomcat 4.1.18 but not to the
> same webapp
> running on 4.1.27. What gives?
>
> Running on Windows 2000
> with sun jdk1.4.1
>
> Tom
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>