I've ran into an issue regarding the servlet versions.
With the update we're adding support for Servlet 3.0 which makes processing the
requests easier. However while we can detect what version the server supports we can't
detect the actual version that is used and we cannot treat 2.5 as 3.0. This isn't an
issue on WildFly which uses Servlet 3.0 by default but for example EAP 6.1 uses 2.5 by
default (even though it supports 3.0).
We have two options - either configure the servlet for 3.0 in web.xml:
{code:jivemacro_uid=_14005078970557820|class=jive_text_macro jive_macro_code
_jivemacro_uid_14005078970557820}
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
<multipart-config>
<max-file-size>20848820</max-file-size>
<max-request-size>418018841</max-request-size>
<file-size-threshold>1048576</file-size-threshold>
</multipart-config>
</servlet>
{code}
so we'll have to update all projects that make use of fileUpload. (I have to check
what's the minimal necessary configuration). Or find a way to properly determine what
servlet version we're dealing with.
Posted by forums
Original post:
https://community.jboss.org/message/874222#874222