ErrorFileUploadx

tastelessbeachInternet και Εφαρμογές Web

12 Νοε 2013 (πριν από 3 χρόνια και 6 μήνες)

1.401 εμφανίσεις

Error on file upload


2/3/2011


type

Exception report

message


description

The server encountered an internal error () that prevented it from fulfilling this request.

exception


org.springframework.web.util.NestedServletException: Request processing
failed; nested exception is
org.springframework.web.multipart.MaxUploadSizeExceededException: Maximum upload size of 100000 bytes exceeded; nested except
ion is
org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejecte
d because its size (868098) exceeds the
configured maximum (100000)


org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:656)


org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)


javax.servl
et.http.HttpServlet.service(HttpServlet.java:637)


javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


gov.nih.nci.calims2.ui.util.filter.ExpirationFilter.doFilter(ExpirationFilter.java:137)


org.springframework.web.filter.DelegatingFilterProxy.i
nvokeDelegate(DelegatingFilterProxy.java:237)


org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:343)


org.spri
ngframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)


org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)


org.springframework.sec
urity.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)


org.springframework.security.web.FilterChainProxy$VirtualFil
terChain.doFilter(FilterChainProxy.java:355)


org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:3
55)


org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframewor
k.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareReque
stFilter.java:54)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframework.secur
ity.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:177)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframework.securi
ty.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessing
Filter.java:188)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframework.security.w
eb.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframework.security.web.context.SecurityContextPersistenceFilter.doFil
ter(SecurityContextPersistenceFilter.java:79)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:
109)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149)


org.springframework.web.filter.DelegatingFilterProxy.invo
keDelegate(DelegatingFilterProxy.java:237)


org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)


org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)


org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)


org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

root cause


org.springframework.web.multipart.MaxUploadSizeExceededException: M
aximum upload size
of 100000 bytes exceeded; nested exception is
org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was
rejected because its size (868098) exceeds the configured maximum (100000)


org.springframework.web.mu
ltipart.commons.CommonsMultipartResolver.parseRequest(CommonsMultipartResolver.java:159)


org.springframework.web.multipart.commons.CommonsMultipartResolver.resolveMultipart(CommonsMultipartResolver.java:138)


org.springframework.web.servlet.DispatcherServ
let.checkMultipart(DispatcherServlet.java:887)


org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:750)


org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)


org.springframework.web.servl
et.FrameworkServlet.processRequest(FrameworkServlet.java:644)


org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)


javax.servlet.http.HttpServlet.service(HttpServlet.java:637)


javax.servlet.http.HttpServlet.service(HttpServ
let.java:717)


gov.nih.nci.calims2.ui.util.filter.ExpirationFilter.doFilter(ExpirationFilter.java:137)


org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)


org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:343)


org.springframework.security.web.access.intercept.Filte
rSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)


org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.d
oFilter(FilterChainProxy.java:355)


org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


o
rg.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframework.security.web.authentic
ation.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframework.security.web.servletapi.SecurityContextHolder
AwareRequestFilter.doFilter(SecurityContextHolderAwareReque
stFilter.java:54)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframework.security.web.savedrequest.RequestCacheAwareFilter.do
Filter(RequestCacheAwareFilter.java:35)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFil
ter.java:177)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcess
ing
Filter.
java:188)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)


org.springframework.security.web.Filte
rChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)


org.springframework.security.web.FilterChainProxy$VirtualFilte
rChain.doFilter(FilterChainProxy.java:355)


org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:109)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355
)


org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149)


org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)


org.springframework.web.filter.DelegatingFilterProxy.doFilter(Del
egatingFilterProxy.java:167)


org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)


org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)


org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

root cause


org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (868098) e
xceeds the
configured maximum (10000
0)


org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.<init>(FileUploadBase.java:914)


org.apache.commons.fileupload.FileUploadBase.getItemIterator(FileUploadBase.java:331)


org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUplo
adBase.java:349)


org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:126)


org.springframework.web.multipart.commons.CommonsMultipartResolver.parseRequest(CommonsMultipartResolver.java:155)


org.springframework.web.
multipart.commons.CommonsMultipartResolver.resolveMultipart(CommonsMultipartResolver.java:138)


org.springframework.web.servlet.DispatcherServlet.checkMultipart(DispatcherServlet.java:887)


org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispa
tcherServlet.java:750)


org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)


org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)


org.springframework.web.servlet.FrameworkServlet.do
Post(FrameworkServlet.java:560)


javax.servlet.http.HttpServlet.service(HttpServlet.java:637)


javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


gov.nih.nci.calims2.ui.util.filter.ExpirationFilter.doFilter(ExpirationFilter.java:137)


org.spring
framework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)


org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.d
oFilter(FilterChainProxy.java:343)


org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)


org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityI
nterceptor.java:83)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)


org.springframew
ork.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)


org.springframework.security.web.FilterChainProxy$Virtual
FilterChain.doFilter(FilterChainProxy.java:355)


org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(
FilterChainProxy.java:355)


org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareReque
stFilter.java:54)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterC
hainProxy.java:355)


org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframew
ork.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:177)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframework.security.web.authentic
ation.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessing
Filter.java:188)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframework.security.web.authenticatio
n.logout.LogoutFilter.doFilter(LogoutFilter.java:105)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityCont
extPersistenceFilter.java:79)


org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:109)


org.spring
framework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355)


org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149)


org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(Deleg
atingFilterProxy.java:237)


org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)


org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)


org.springfram
ework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)


org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

note

The full stack trace of the root cause is available in the JBoss Web/2.1.3.GA logs.