Hi All, Following is the environment i am working with:
Weblogic 8.1 sp4 myfaces 1.1.5 tomahawk 1.1.5 IE 6.0 SP2 In my application i am using inputFileUpload component which internally uses apache commons FileUpload. For larger files the request times out and throws the following exception: 11:04:45,622 ERROR MultipartRequestWrapper:96 - Exception while uploading file. org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed. Read timed out at org.apache.commons.fileupload.FileUploadBase.parseRequest( FileUploadBase.java:429) at org.apache.myfaces.webapp.filter.MultipartRequestWrapper.parseRequest( MultipartRequestWrapper.java:85) ...... I google a bit for a resolution but did not find any concrete solutions to the problem. I went into the tomahawk source code and i found that the following peice of code causes that exception: List requestParameters = null; try{ *requestParameters = fileUpload.parseRequest(request); * } catch (FileUploadBase.SizeLimitExceededException e) { // TODO: find a way to notify the user about the fact that the uploaded file exceeded size limit if(log.isInfoEnabled()) log.info("user tried to upload a file that exceeded file-size limitations.",e); requestParameters = Collections.EMPTY_LIST; }catch(FileUploadException fue){ * log.error("Exception while uploading file.", fue); * requestParameters = Collections.EMPTY_LIST; } I did not find any property in the component tld documentation that would help me set a timeout and overwrite the timeout defined at the server. Any help would be greatly appreciated. Regards, Madhav -- When I tell the truth, it is not for the sake of convincing those who do not know it, but for the sake of defending those that do