0 Replies Latest reply on Jun 9, 2009 5:09 PM by nimo22

    rich:fileUpload and a4j:queue

    nimo22

      When using rich:fileUpload with flash="false" and the file to be uploaded is e.g. 20 MB, then I get always this error:

      23:08:17,796 WARN [SeamPhaseListener] uncaught exception, passing to exception handler
      org.jboss.seam.ConcurrentRequestTimeoutException: Concurrent call to conversation
       at org.jboss.seam.core.Manager.restoreAndLockConversation(Manager.java:641)
       at org.jboss.seam.core.Manager.restoreConversation(Manager.java:603)


      When using rich:fileUpload with flash="true", then no error occurs and the file is successfully uploaded.

      How can I use rich:fileUpload with flash="false" and avoid this error?

      According to http://www.jboss.org/index.html?module=bb&op=viewtopic&t=151672, I want to try the a4j:queue:

      <h:form id="myForm">
      <a4j:queue requestDelay="1000" ignoreDupResponce="true"/>
      <a4j:outputPanel>
      <rich:fileUpload id="myFileUpload" allowFlash="false" .. >
      </rich:fileUpload>
      </a4j:outputPanel>
      </h:form>


      But this does not work. I get the always the ConcurrentRequestTimeoutException. What should I do?