3 Replies Latest reply on Mar 5, 2009 5:58 PM by Nick Belaevski

    Transfer error on richfaces fileUpload

    panky_p Novice

      Hi,
      I have some issue in rich:fileUpload, it throws

      org.jboss.seam.ConcurrentRequestTimeoutException: Concurrent call to conversation

      and code for file upload is
      <rich:fileUpload id="uploadImage"
       addControlLabel="Add Image"
       immediateUpload="true"
       fileUploadListener="#{myBean.listener}"
       acceptedTypes="jpg,gif,png"
       maxFilesQuantity="1"
       clearControlLabel="Clear"
       clearAllControlLabel="Clear All"
       stopEntryControlLabel="Stop"
       progressLabel="Loading..."
       listWidth="500" listHeight="100" required="true">
       <a4j:support event="onuploadcomplete" reRender="imgPreview" />
      </rich:fileUpload>
      <rich:panel id="imgPreview">
       <s:graphicImage rendered="#{testBean.imageFile != null}" value="#{testBean.imageFile}" >
       <s:transformImageSize width="200" maintainRatio="true" />
       </s:graphicImage>
      </rich:panel>


      For the first time when I upload image it works fine but when i log out from app and without closing browser login again and try to upload image it gives me
      Transfer error occurred
      with the excption mentioned above.

      Can any one please let me know why is it so??
      Please help me on this.