You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/03/05 05:51:08 UTC
DO NOT REPLY [Bug 27462] New: -
about JK2 ISAPI between IIS and Tomcat 5 has file upload bug?
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27462>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27462
about JK2 ISAPI between IIS and Tomcat 5 has file upload bug?
Summary: about JK2 ISAPI between IIS and Tomcat 5 has file upload
bug?
Product: Tomcat 5
Version: 5.0.19
Platform: PC
OS/Version: Windows NT/2K
Status: UNCONFIRMED
Severity: Normal
Priority: Other
Component: Connector:AJP
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: zsy@xminfoport.com
Hi,
I am using Commons File Uploader to post a file to my Struts app running on TC
5.
If I post a big file (size > 60k) upload to Tomcat directly, e.g
http://server:8080/upload.do it works
fine
If I post a big file (size > 60k) through our IIS -> JK2 -> Tomcat method, e.g
http://server/upload.do
it fails with a "Stream terminated unexpectedly".
The code below is what I am doing - this is not at fault .. it seems to be
going
through IIS that is killing my upload..
if (FileUpload.isMultipartContent(request)) {
DiskFileUpload upload = new DiskFileUpload();
List items = null;
try {
logger.info("parsing multipart form request");
items = upload.parseRequest(request);
} catch (FileUploadException fuE) {
logger.error(fuE.getMessage());
break DO_CHECKIN;
}
Could anybody told me why ?
thanx a lot.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org