← Back to team overview

dhis2-devs team mailing list archive

[Bug 638848] [NEW] Jetty form too large >200000 error when saving large forms in form designer

 

Public bug reported:

In DataSet->Edit Data Entry Form:

I get this error when trying to save large forms, and this does not happen on tomcat. Given this post (http://www.devcomments.com/Jetty-Form-too-large-in-dev-mode-at257689.htm) I think this is related to Jetty.
Saving the same form works fine on tomcat.

Problem accessing /dhis-web-maintenance-
dataset/saveDataEntryForm.action. Reason:

    Form too large339783>200000
Caused by:

java.lang.IllegalStateException: Form too large339783>200000
	at org.mortbay.jetty.Request.extractParameters(Request.java:1476)
	at org.mortbay.jetty.Request.getParameterMap(Request.java:785)
	at javax.servlet.ServletRequestWrapper.getParameterMap(ServletRequestWrapper.java:177)
	at org.apache.struts2.dispatcher.mapper.DefaultActionMapper.handleSpecialParameters(DefaultActionMapper.java:351)
	at org.apache.struts2.dispatcher.mapper.DefaultActionMapper.getMapping(DefaultActionMapper.java:311)
	at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:370)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139)

** Affects: dhis2
     Importance: High
         Status: New

** Changed in: dhis2
    Milestone: None => 2.0.5

** Changed in: dhis2
   Importance: Undecided => High

-- 
Jetty form too large >200000 error when saving large forms in form designer
https://bugs.launchpad.net/bugs/638848
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.

Status in DHIS 2 - District Health Information Software: New

Bug description:
In DataSet->Edit Data Entry Form:

I get this error when trying to save large forms, and this does not happen on tomcat. Given this post (http://www.devcomments.com/Jetty-Form-too-large-in-dev-mode-at257689.htm) I think this is related to Jetty.
Saving the same form works fine on tomcat.

Problem accessing /dhis-web-maintenance-dataset/saveDataEntryForm.action. Reason:

    Form too large339783>200000
Caused by:

java.lang.IllegalStateException: Form too large339783>200000
	at org.mortbay.jetty.Request.extractParameters(Request.java:1476)
	at org.mortbay.jetty.Request.getParameterMap(Request.java:785)
	at javax.servlet.ServletRequestWrapper.getParameterMap(ServletRequestWrapper.java:177)
	at org.apache.struts2.dispatcher.mapper.DefaultActionMapper.handleSpecialParameters(DefaultActionMapper.java:351)
	at org.apache.struts2.dispatcher.mapper.DefaultActionMapper.getMapping(DefaultActionMapper.java:311)
	at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:370)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139)





Follow ups

References