4 Replies Latest reply on Feb 9, 2017 3:52 PM by vprivat

    Rich Faces file upload failed with runtime error in Websphere server environment


      Hi Team,


      In our application, when we try to upload a file using Rich Faces component in the Websphere server environment,

      the server throws below runtime error. The complete error description is given in the attached text file. It works fine for normal html file upload component.

      The same Rich Faces file upload component works fine when used on Weblogic server environment.

      Caused by: java.lang.UnsupportedOperationException: SRVE8020E: Servlet does not accept multipart requests

      at com.ibm.ws.webcontainer.srt.SRTServletRequest.prepareMultipart(SRTServletRequest.java:3537)

      at com.ibm.ws.webcontainer.srt.SRTServletRequest.getParts(SRTServletRequest.java:3509)

      at javax.servlet.http.HttpServletRequestWrapper.getParts(HttpServletRequestWrapper.java:133)

      at javax.servlet.http.HttpServletRequestWrapper.getParts(HttpServletRequestWrapper.java:133)

      at org.richfaces.renderkit.FileUploadRendererBase.initializeUploadedFiles(FileUploadRendererBase.java:84)

      ... 89 more



      Websphere 8.5.5

      Rich Faces 4.5.12

      JSF 2.2.10

      Please let us know if we have to add or update any jar to resolve this.

      Thanks & Regards,

      Ramu A.