RE: File upload Bug?
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:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: File upload Bug?
im on Windows 2000 server. It seems to be a bug in isapi_redirect2.dll. Any thoughts anyone? -Original Message- From: Andy Eastham [mailto:[EMAIL PROTECTED] 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:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: File upload Bug?
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 -- x Rémy Maucherat Senior Developer Consultant JBoss Group (Europe) SàRL x - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: File upload Bug?
I had this (or a similar problem) a long time ago. It only occurred when connecting to IIS via HTTPS (SSL). Also, my problem was with isapi_redirector.dll, not isapi_redirector2.dll. It might be the same issue, though. It was some sort of timing problem with the ISAPI redirector. I hacked around the problem in the redirector by reading large POST requests to a temporary file before sending them to Tomcat. This fixed the problem. At the time, I attributed it to some IIS quirk. Note that what I learned didn't point me to the O'Reilly upload code at all. If you're interested, I can share the code. Again, the modifications were to the previous version of the redirector. Allen -Original Message- From: Tom Lyle [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 11:11 AM To: Tomcat Users List Subject: RE: File upload Bug? 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:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]