Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 9044 invoked from network); 2 Nov 2004 09:26:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Nov 2004 09:26:52 -0000 Received: (qmail 14168 invoked by uid 500); 2 Nov 2004 09:25:35 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 14127 invoked by uid 500); 2 Nov 2004 09:25:35 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 14100 invoked by uid 99); 2 Nov 2004 09:25:35 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [195.172.82.234] (HELO MAIL2.qas.com) (195.172.82.234) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 02 Nov 2004 01:25:33 -0800 Received: from orion.qas.com (orion.qas.com [150.150.100.34]) by MAIL2.qas.com (Content Technologies SMTPRS 4.3.14) with ESMTP id ; Tue, 2 Nov 2004 09:25:26 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: File upload Date: Tue, 2 Nov 2004 09:25:26 -0000 Message-ID: <5684A7E6FB10504393A2806C1F4C021003B0E5C9@orion.qas.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: File upload Thread-Index: AcS9Bfu36q1m/7k0SuianLuUrgRK8QAABkegAAVM5gAAOaWVwACu8lyw From: "Allistair Crossley" To: "Tomcat Users List" , "Struts User Apache (E-mail)" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Derrick I have added a comment to this bug that links to the original bug report th= read that I was on when I was getting this. This problem was fixed back in = May and a release was made, but some people were still getting it. I recent= ly built the isapi DLL from CVS head and it fixed all our known instances o= f this problem.=20 I can email you the DLL if you provide your address, Cheers, AC > -----Original Message----- > From: Derrick Koes [mailto:Derrick_Koes@skillsoft.com] > Sent: 29 October 2004 22:54 > To: Tomcat Users List; Struts User Apache (E-mail) > Subject: RE: File upload >=20 >=20 >=20 > For anyone who is interested, I found this interesting bug report on > bugzilla describing the problem. Does anyone know a=20 > workaround for IIS > adding 35 bytes? >=20 > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3D26890 >=20 >=20 > -----Original Message----- > From: Derrick Koes [mailto:Derrick_Koes@skillsoft.com]=20 > Sent: Thursday, October 28, 2004 2:27 PM > To: Tomcat Users List; Struts User Apache (E-mail) > Subject: RE: File upload >=20 > =20 > Upon reviewing some struts code and documentation, the memory=20 > threshold > for a file to be parsed for upload is 256K (configurable). =20 > If the file > is over that size, I believe the uploader puts it in a temp file. > However, since the "url" to retrieve it for parsing is a=20 > relative path, > the parser cannot find it. >=20 > Can anyone verify this? >=20 > Thanks, > Derrick >=20 >=20 > -----Original Message----- > From: Derrick Koes [mailto:Derrick_Koes@skillsoft.com] > Sent: Thursday, October 28, 2004 11:52 AM > To: Tomcat Users List > Subject: File upload >=20 >=20 > Configuration: >=20 > Tomcat 5.0.24 > IIS 5.0 > JK2 connector > Isapi_redirector2.dll > Struts 1.1 > Commons file upload 1.0 >=20 >=20 > I seem to have an issue that when the file is a certain size it is > written to a temp file on the file system before it is parsed by the > multipart parser (at least that's what the exception message=20 > leads me to > believe). However, since the working directory is my web app > (/WEB-INF/ilt), the parser can't seem to find the file (not a fully > qualified file name). This is a guess, but if correct I=20 > don't know how > to fix the problem. >=20 > Any help is appreciated. >=20 > Belows is the stack trace and data from the request dumper valve: >=20 > 2004-10-28 10:59:32 RequestDumperValve[/ilt]: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: REQUEST URI > =3D/ilt/ilt/iltPerformUpload.do > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: authType=3Dnull > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: characterEncoding=3Dnull > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: =20 > contentLength=3D340147 > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > contentType=3Dmultipart/form-data; > boundary=3D---------------------------41184676334 > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: contextPath=3D/ilt > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > cookie=3Dcom.skillsoft.mgs.sso.RedirectorServlet.ReturnToSkillPo > rt=3Dhttp:// > dkoesxp/djk/home/index.cfm?selectdTab=3D0 > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > cookie=3DCFMX_JSESSIONID=3Dc8301990451098975559821 > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > cookie=3DCFID=3D19459 > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > cookie=3DCFTOKEN=3D98634115 > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > header=3Daccept=3Dtext/xml,application/xml,application/xhtml+xml,t > ext/html;q > =3D0.9,text/plain;q=3D0.8,image/png,*/*;q=3D0.5 > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > header=3Daccept-language=3Den-us,en;q=3D0.5 > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > header=3Dconnection=3Dkeep-alive > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > header=3Dhost=3Ddkoesxp > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > header=3Dreferer=3Dhttp://dkoesxp/ilt/ilt/iltUpload.do;jsessionid=3D > 3048D443AD > 4341273FB5FED42958E7C4 > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > header=3Duser-agent=3DMozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) > Gecko/20041001 Firefox/0.10.1 > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > header=3Dcookie=3Dcom.skillsoft.mgs.sso.RedirectorServlet.ReturnTo > SkillPort=3D > http://dkoesxp/djk/home/index.cfm?selectdTab=3D0; > CFMX_JSESSIONID=3Dc8301990451098975559821; CFID=3D19459; CFTOKEN=3D986341= 15 > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > header=3Dcontent-length=3D340147 > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > header=3Dcontent-type=3Dmultipart/form-data; > boundary=3D---------------------------41184676334 > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > header=3Daccept-encoding=3Dgzip,deflate > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > header=3Daccept-charset=3DISO-8859-1,utf-8;q=3D0.7,*;q=3D0.7 > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > header=3Dkeep-alive=3D300 > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: locale=3Den_US > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: method=3DPOST > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: pathInfo=3Dnull > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > protocol=3DHTTP/1.1 > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: queryString=3Dnull > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > remoteAddr=3D10.20.3.42 > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > remoteHost=3D10.20.3.42 > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: remoteUser=3Dnull > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > requestedSessionId=3D3048D443AD4341273FB5FED42958E7C4 > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: scheme=3Dhttp > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: =20 > serverName=3Ddkoesxp > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: serverPort=3D80 > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > servletPath=3D/ilt/iltPerformUpload.do > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: isSecure=3Dfalse > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > --------------------------------------------------------------- > 2004-10-28 10:59:43 StandardWrapperValve[action]:=20 > Servlet.service() for > servlet action threw exception > org.apache.commons.fileupload.FileUploadException: Processing of > multipart/form-data request failed. > \WEB-INF\ilt\temp\upload_00000001.tmp (The system cannot find the path > specified) > at > org.apache.commons.fileupload.FileUploadBase.parseRequest(File > UploadBase > .java:429) > at > org.apache.struts.upload.CommonsMultipartRequestHandler.handle > Request(Co > mmonsMultipartRequestHandler.java:233) > at > org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1209) > at > org.apache.struts.action.RequestProcessor.processPopulate(Requ > estProcess > or.java:821) > at > org.apache.struts.action.RequestProcessor.process(RequestProce > ssor.java: > 254) > at > org.apache.struts.action.ActionServlet.process(ActionServlet.j > ava:1482) > at > org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt > er(Applica > tionFilterChain.java:237) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli > cationFilt > erChain.java:157) > at > com.skillsoft.ilt.servlet.NDCContextFilter.doFilter(NDCContext > Filter.jav > a:62) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt > er(Applica > tionFilterChain.java:186) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli > cationFilt > erChain.java:157) > at > com.skillsoft.ilt.servlet.HitCountFilter.doFilter(HitCountFilt > er.java:86 > ) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt > er(Applica > tionFilterChain.java:186) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli > cationFilt > erChain.java:157) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW > rapperValv > e.java:214) > at > org.apache.catalina.core.StandardValveContext.invokeNext(Stand > ardValveCo > ntext.java:104) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel > ine.java:5 > 20) > at > org.apache.catalina.core.StandardContextValve.invokeInternal(S > tandardCon > textValve.java:198) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardC > ontextValv > e.java:152) > at > org.apache.catalina.core.StandardValveContext.invokeNext(Stand > ardValveCo > ntext.java:104) > at > org.apache.catalina.valves.RequestDumperValve.invoke(RequestDu > mperValve. > java:169) > at > org.apache.catalina.core.StandardValveContext.invokeNext(Stand > ardValveCo > ntext.java:102) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel > ine.java:5 > 20) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHost > Valve.java > :137) > at > org.apache.catalina.core.StandardValveContext.invokeNext(Stand > ardValveCo > ntext.java:104) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport > Valve.java > :117) > at > org.apache.catalina.core.StandardValveContext.invokeNext(Stand > ardValveCo > ntext.java:102) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel > ine.java:5 > 20) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn > gineValve. > java:109) > at > org.apache.catalina.core.StandardValveContext.invokeNext(Stand > ardValveCo > ntext.java:104) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel > ine.java:5 > 20) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) > at > org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter. > java:160) > at > org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:296) > at > org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:372) > at > org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:694) > at > org.apache.jk.common.ChannelSocket.processConnection(ChannelSo > cket.java: > 626) > at > org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:807) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( > ThreadPool > .java:644) > at java.lang.Thread.run(Thread.java:534) >=20 > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > --------------------------------------------------------------- > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: authType=3Dnull > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: contentLength=3D-1 > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > contentType=3Dtext/html > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > header=3DPragma=3DNo-cache > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > header=3DCache-Control=3Dno-cache > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > header=3DExpires=3DThu, 01 Jan 1970 00:00:00 GMT > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: message=3Dnull > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: remoteUser=3Dnull > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: status=3D500 > 2004-10-28 10:59:43 RequestDumperValve[/ilt]: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >=20 >=20 >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >=20 >=20 >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >=20 >=20 =20 ------------------------------------------------------- QAS Ltd. Developers of QuickAddress Software www.qas.com Registered in England: No 2582055 Registered in Australia: No 082 851 474 ------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org