We are migrating our large application (which uses JBoss EAP 6.2 + RichFaces 4.3.5 + JSF 2.1.19) to a newer server . ie (JBoss EAP 7.2)
Can anybody suggest a stable combination of JSF+RichFaces+JBoss EAP, which may not break any code. ?
The combo which we were trying was JSF-2.2.3 (added as a multimodule feature in EAP7.2) + RichFaces 4.3.5 Final. But fileupload was unsuccessful. Tried with a variety of version combo, but didn't help.
Thanks in advance.
Update1 :
File uploading is failing here :
<rich:fileUpload
fileUploadListener="#{bean.singleFileUploadListener}"
id="upload"
acceptedTypes="#{searchCriteria.type=='1' ? 'xls' : 'txt'}"
style="height:90px;width:270px;"
maxFilesQuantity="1"
immediateUpload="true"
addLabel="Browse">
<a4j:ajax event="uploadcomplete" render="imp_btn_panel" />
</rich:fileUpload>
The error which we gets is:
Exception parsing multipart request: Request prolog cannot be read
org.richfaces.exception.FileUploadException: Exception parsing multipart request: Request prolog cannot be read
at org.richfaces.request.MultipartRequestParser.parse(MultipartRequestParser.java:156)
at org.richfaces.request.MultipartRequest25.parseIfNecessary(MultipartRequest25.java:77)
at org.richfaces.request.MultipartRequest25.getParameter(MultipartRequest25.java:114)
at com.sun.faces.context.RequestParameterMap.get(RequestParameterMap.java:75)
at com.sun.faces.context.RequestParameterMap.get(RequestParameterMap.java:56)