Hi Folks,
I tried the suggested change, but I am still facing the same problem. Here is the exception that I get. ****** Picateers Exception Handler received an exception of type org.apache.commons.fileupload.FileUploadException at [28/Sep/2006:15:19:05] ****** org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed. Read timed out at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.jav a:429) at com.picateers.photo.Action.ProcessUpload.execute(ProcessUpload.java:82) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces sor.java:421) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:173) at com.picateers.photo.filter.LoggingFilter.doFilter(LoggingFilter.java:84) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:173) at com.picateers.photo.filter.SecurityFilter.doFilter(SecurityFilter.java:119) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext Valve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137 ) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) /org.apache.commons.fileupload.FileUploadException: 313644,1 97% Can someone please throw some light on it? Thanks Sandeep Darvekar Persistent Systems Pvt. Ltd. India Ph: +1-408-406-1282 (Cell) Ph: +91-98811-52525 (Cell, India) Ph: +91-20-3023-4692 (Office, India) -----Original Message----- From: David Smith [mailto:[EMAIL PROTECTED] Sent: 24 September, 2006 9:55 PM To: Tomcat Users List Subject: Re: Upload Exception - Time out error The connector element you posted has it correctly. I wouldn't try the short form "10MB" though -- the docs don't mention that as a valid way of expressing the value. As far as updating a production service, it's always best to try it in a parallel test environment. If that's not an option, then make a copy of the existing server.xml and roll back to it if the change has unwanted side effects. In this case I doubt there will be any. --David Sandeep Darvekar wrote: > Just to reconfirm, my server.xml should have connector element as > > <Connector port="8085" maxPostSize="10485760" maxHttpHeaderSize="8192" > > maxThreads="150" minSpareThreads="25" maxSpareThreads="75" > > enableLookups="false" redirectPort="8443" acceptCount="100" > > connectionTimeout="20000" disableUploadTimeout="true" /> > > Where I am setting maxPostSize="10MB" > > Please correct me if I am wrong. I will be doing this change on production > server where I am facing this issue and cannot test this in staging as we > cannot reproduce this problem there. > > Thanks for sending me the quick reply. > > > > Thanks > > Sandeep Darvekar > > Persistent Systems Pvt. Ltd. India > > Ph: +1-408-406-1282 (Cell) > > Ph: +91-98811-52525 (Cell, India) > > Ph: +91-20-3023-4692 (Office, India) > > > > -----Original Message----- > From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Sent: 24 September, 2006 8:16 PM > To: Tomcat Users List > Subject: RE: Upload Exception - Time out error > > > > >> From: Sandeep Darvekar [mailto:[EMAIL PROTECTED] >> > > >> Subject: RE: Upload Exception - Time out error >> > > > > >> Thanks for refereeing to this link. However when I looked at >> > > >> server.xml that I have on my tamcat installation it does not >> > > >> show any attribute with name maxPostSize. >> > > > > Read the doc, not your server.xml - maxPostSize is an attribute of the > > <Connector> element, and has a default value of 2MB. Once more, with > > feeling: > > http://tomcat.apache.org/tomcat-5.5-doc/config/http.html > > > > - Chuck > > > > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > > MATERIAL and is thus for use only by the intended recipient. If you > > received this in error, please contact the sender and delete the e-mail > > and its attachments from all computers. > > > > --------------------------------------------------------------------- > > To start a new topic, e-mail: users@tomcat.apache.org > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > DISCLAIMER > ========== > This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails. > > -- David Smith Network Operations Supervisor Department of Entomology Cornell University 2132 Comstock Hall Ithaca, NY 14853 Phone: (607) 255-9571 Fax: (607) 255-0940 --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails.