我参与的应用程序被部署到测试服务器(WebSphere 7),我们从那里得到了我们以前从未见过的错误:
这是关于超出每个请求允许的最大参数数量的消息,另外写入错误:
28.01.2013 15:51:38 SEVERE exceeding maximum Paramaters allowed per request -> 1000 ,current parameterSize-> 1000 cannot add more.
28.01.2013 15:51:38 SEVERE An exception occurred
javax.faces.FacesException: java.lang.IllegalArgumentException
org.apache.myfaces.shared_impl.context.ExceptionHandlerImpl.wrap(ExceptionHandlerImpl.java:241)
org.apache.myfaces.shared_impl.context.ExceptionHandlerImpl.handle(ExceptionHandlerImpl.java:156)
org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:191)
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1597)
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:79)
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
我从未见过用于配置最大参数计数的参数,也没有在http://myfaces.apache.org/core20/myfaces-impl/webconfig.html中找到它。那么,这个parameterSize
参数是什么,我在哪里可以配置呢?
该应用程序嵌入为EAR,使用MyFaces 2.0.7和PrimeFaces 3.4。