myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leonardo Uribe <lu4...@gmail.com>
Subject Re: SizeLimitExceededException when uploading big files
Date Tue, 21 Jul 2009 15:30:46 GMT
Hi

Take a look at:

https://issues.apache.org/jira/browse/TOMAHAWK-1381
https://issues.apache.org/jira/browse/TOMAHAWK-1305
https://issues.apache.org/jira/browse/TOMAHAWK-1420

regards

Leonardo Uribe

2009/7/21 António Rodrigues <antonio.jose.rodrigues@gmail.com>

> I am using Tomahawk 1.1.9 and Facelets.
> When I upload files bigger than uploadMaxFileSize I get the following
> exception.
> The server never responds to the request and the browser keeps loading
> the page infinitely.
>
> SizeLimitExceededException while uploading file.
> org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException:
> the request was rejected because its size (5383438) exceeds the
> configured maximum (4194304)
>        at
> org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.<init>(FileUploadBase.java:914)
>        at
> org.apache.commons.fileupload.FileUploadBase.getItemIterator(FileUploadBase.java:331)
>        at
> org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:349)
>        at
> org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:126)
>        at
> org.apache.myfaces.webapp.filter.MultipartRequestWrapper.parseRequest(MultipartRequestWrapper.java:136)
>        at
> org.apache.myfaces.webapp.filter.MultipartRequestWrapper.getParameter(MultipartRequestWrapper.java:274)
>        at
> com.sun.faces.context.RequestParameterMap.get(ExternalContextImpl.java:1135)
>        at
> com.sun.faces.context.RequestParameterMap.get(ExternalContextImpl.java:1120)
>        at java.util.Collections$UnmodifiableMap.get(Collections.java:1282)
>        at
> com.sun.faces.application.ViewHandlerImpl.calculateRenderKitId(ViewHandlerImpl.java:512)
>        at
> com.sun.facelets.FaceletViewHandler.calculateRenderKitId(FaceletViewHandler.java:792)
>        at
> com.sun.faces.lifecycle.RestoreViewPhase.isPostback(RestoreViewPhase.java:267)
>        at
> com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:137)
>        at
> com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
>        at
> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
>        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
>        at
> org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
>        at
> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:341)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
>        at
> org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
>        at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
>        at
> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
>        at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
>        at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
>        at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
>        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
>        at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
>        at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
>        at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
>        at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
>        at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
>        at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
>        at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
>        at
> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
>        at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
>        at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
>        at
> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
>        at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
>        at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
>        at
> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
>        at
> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
>        at
> com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.process(SSLReadTask.java:440)
>        at
> com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.doTask(SSLReadTask.java:228)
>        at
> com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
>        at
> com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
>
>
> Any hint would be appreciated.
>
> Thanks
> António
>

Mime
View raw message