tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Wiegman (JIRA)" <...@tapestry.apache.org>
Subject [jira] Commented: (TAPESTRY-2698) Unable to decode multipart encoded request cuased by upload file
Date Tue, 07 Oct 2008 16:42:46 GMT

    [ https://issues.apache.org/jira/browse/TAPESTRY-2698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637541#action_12637541
] 

Joel Wiegman commented on TAPESTRY-2698:
----------------------------------------

This is a duplicate of TAPESTRY-2705, where a more accurate description can be found.

> Unable to decode multipart encoded request cuased by upload file
> ----------------------------------------------------------------
>
>                 Key: TAPESTRY-2698
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2698
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-upload
>    Affects Versions: 5.0.15
>         Environment: xp
>            Reporter: srikanth
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> I uploaded file with more than limit, it thrown exception as below, so their is any validator
tag which support to prevent this exception ?
> java.lang.RuntimeException: Unable to decode multipart encoded request.
> 	at org.apache.tapestry5.upload.internal.services.MultipartDecoderImpl.parseRequest(MultipartDecoderImpl.java:116)
> 	at org.apache.tapestry5.upload.internal.services.MultipartDecoderImpl.decode(MultipartDecoderImpl.java:94)
> 	at $MultipartDecoder_11cb8950a1d.decode($MultipartDecoder_11cb8950a1d.java)
> 	at $MultipartDecoder_11cb89508ae.decode($MultipartDecoder_11cb89508ae.java)
> 	at org.apache.tapestry5.upload.internal.services.MultipartServletRequestFilter.service(MultipartServletRequestFilter.java:41)
> 	at $HttpServletRequestHandler_11cb89508b1.service($HttpServletRequestHandler_11cb89508b1.java)
> 	at org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
> 	at $HttpServletRequestFilter_11cb89508af.service($HttpServletRequestFilter_11cb89508af.java)
> 	at $HttpServletRequestHandler_11cb89508b1.service($HttpServletRequestHandler_11cb89508b1.java)
> 	at $HttpServletRequestHandler_11cb89508ad.service($HttpServletRequestHandler_11cb89508ad.java)
> 	at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:177)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
> 	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
> 	at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
> 	at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
> 	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
> 	at com.btservices.storeportal.web.filter.WelcomeScreenGatewayFilter.doFilter(WelcomeScreenGatewayFilter.java:65)
> 	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
> 	at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
> 	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
> 	at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
> 	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
> 	at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:229)
> 	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
> 	at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:106)
> 	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
> 	at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:286)
> 	at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
> 	at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
> 	at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
> 	at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
> 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
> 	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)
> Caused by: org.apache.commons.fileupload.FileUploadBase$FileSizeLimitExceededException:
The field fileToUpload exceeds its maximum permitted  size of 1500000 characters.
> 	at org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl$FileItemStreamImpl$1.raiseError(FileUploadBase.java:645)
> 	at org.apache.commons.fileupload.util.LimitedInputStream.checkLimit(LimitedInputStream.java:71)
> 	at org.apache.commons.fileupload.util.LimitedInputStream.read(LimitedInputStream.java:128)
> 	at java.io.FilterInputStream.read(FilterInputStream.java:90)
> 	at org.apache.commons.fileupload.util.Streams.copy(Streams.java:94)
> 	at org.apache.commons.fileupload.util.Streams.copy(Streams.java:64)
> 	at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:354)
> 	at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:126)
> 	at org.apache.tapestry5.upload.internal.services.MultipartDecoderImpl.parseRequest(MultipartDecoderImpl.java:112)
> 	... 61 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message