Try to modify this entry "services.UploadService.size.max". By default the value of this attribute is 1048576. And make sure the directory "services.UploadService.repository" specified does exists.
Regards Joel Guo -----Original Message----- From: Dieter Engelhardt [mailto:[EMAIL PROTECTED] Sent: Saturday, October 04, 2003 7:52 AM To: Turbine Users List Subject: AW: TurbineException: File upload failed:..... Hi You, i have the same problem and don't know how to solve this. If you have found a solution for this already, it would be nice if you could share it with me. Regards Dieter -----Ursprungliche Nachricht----- Von: Yon Rosenthal [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 31. Juli 2003 18:34 An: [EMAIL PROTECTED] Betreff: TurbineException: File upload failed:..... What is the proper way of catching this exception : Exception: org.apache.turbine.util.TurbineException: File upload failed: the request was rejected because it's size exceeds allowed range Stack Trace follows: org.apache.turbine.util.TurbineException: the request was rejected because it's size exceeds allowed range at org.apache.turbine.services.upload.TurbineUploadService.parseRequest(Tur bineUploadService.java:128) at org.apache.turbine.services.upload.TurbineUpload.parseRequest(TurbineUpl oad.java:178) at org.apache.turbine.util.parser.DefaultParameterParser.setRequest(Default ParameterParser.java:189) rethrown as org.apache.turbine.util.TurbineException: File upload failed: the request was rejected because it's size exceeds allowed range at org.apache.turbine.util.parser.DefaultParameterParser.setRequest(Default ParameterParser.java:193) at org.apache.turbine.services.rundata.DefaultTurbineRunData.getParameters( DefaultTurbineRunData.java:502) at org.apache.turbine.Turbine.doGet(Turbine.java:278) at org.apache.turbine.Turbine.doPost(Turbine.java:537) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:247) I've copied this from turbine.log I'm using turbine 2.1 Thanks in advance. Yon --------------------------------------------------------------------- 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]
