0 Replies Latest reply on Jan 5, 2016 5:06 AM by vaibhav shrivastava

    rich:fileUpload not uploading file in production while in local works fine

    vaibhav shrivastava Newbie

      Hi All, I am using richfaces to upload a file to a database by beans,while in local, I am able to upload a file, in production (using domain name), the progress bar does not move and file does not get uploaded.


      xhtml looks like below

        <rich:fileUpload addLabel="Upload Home Page Image" listHeight="30px" style="width:100%;length:10%;" fileUploadListener="#{storeMasterBean.listenerforStoreImage}" id="uploadImage" acceptedTypes=".jpg, .gif, .png, .bmp"

                        immediateUpload="true" ontyperejected="alert('Only JPG, GIF, PNG and BMP files are accepted');" maxFilesQuantity="1" >



      Logs I am keep on getting message like below and nothing moves

      [05/Jan/2016:15:28:42 +0530] "GET /storelocatorpackage/rfRes/fileUploadProgress.xhtml?ln=org.richfaces&rf_fu_uid_alt=0.42414838052354753 HTTP/1.1" 200 1

      [05/Jan/2016:15:28:43 +0530] "GET /storelocatorpackage/rfRes/fileUploadProgress.xhtml?ln=org.richfaces&rf_fu_uid_alt=0.5186328093841418 HTTP/1.1" 200 1

      [05/Jan/2016:15:28:44 +0530] "GET /storelocatorpackage/rfRes/fileUploadProgress.xhtml?ln=org.richfaces&rf_fu_uid_alt=0.42414838052354753 HTTP/1.1" 200 1


      I am using jsf 2.2