← Back to team overview

dhis2-devs team mailing list archive

Re: Form too large3352259>200000

 

Hi Ibrahim,

This has already been described here

https://bugs.launchpad.net/dhis2/+bug/638848

This is a limitation in the Jetty container, and not with DHIS2.

Possible fix is outlined here, but this is not a problem with DHIS2.

http://stackoverflow.com/questions/3861455/form-too-large-exception

Best regards,
Jason



On Tue, Jun 4, 2013 at 8:38 AM, Ibrohim Kholmatov <ibrohimkhan@xxxxxxxxx>wrote:

> Hi all,
>
> Let me introduce myself, my name is Ibrahim Kholmatov. I am working for
> EPOS Health Management. Recently our company and European Union
> organization started a medical project in Tajikistan. In our project we are
> using DHIS2 software for medical statistics.
>
> Recently we have faced with a problem in Custom Forms. The thing is that
> we are working with big forms and when we are trying to “Save and close”
> our custom form through web interface in Data entry form management page
> the DHIS throws exception. I have tried to debug it and faced with such
> exception:
>
>
>
> 2013-06-04
> 10:37:36.215:WARN::/dhis-web-maintenance-dataset/autoSaveDataEntryForm.action
>
> java.lang.IllegalStateException: Form too large3352259>200000
>
>                 at
> org.mortbay.jetty.Request.extractParameters(Request.java:1561)
>
>                 at org.mortbay.jetty.Request.getParameter(Request.java:859)
>
>                 at
> javax.servlet.ServletRequestWrapper.getParameter(ServletRequestWrapper.java:169)
>
>                 at
> org.hisp.dhis.security.filter.CustomAuthenticationFilter.doFilter(CustomAuthenticationFilter.java:47)
>
>                 at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>
>                 at
> org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
>
>                 at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>
>                 at
> org.hisp.dhis.security.filter.AutomaticAccessFilter.doFilter(AutomaticAccessFilter.java:112)
>
>                 at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>
>                 at
> org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
>
>                 at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>
>                 at
> org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
>
>                 at
> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
>
>                 at
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
>
>                 at
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
>
>                 at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
>
>                 at
> org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:152)
>
>                 at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
>
>                 at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
>
>                 at
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
>
>                 at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
>
>                 at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
>
>                 at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
>
>                 at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>
>                 at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>
>                 at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>
>                 at
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
>
>                 at
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
>
>                 at
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>
>                 at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>
>                 at org.mortbay.jetty.Server.handle(Server.java:326)
>
>                 at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
>
>                 at
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
>
>                 at
> org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
>
>                 at
> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
>
>                 at
> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>
>                 at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
>
>                 at
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
>
>
>
>
> I would appreciate if you could help us to fix this problem.
>
>
>
> Best regards,
>
> Ibrahim
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References